Skip to content

Commit

Permalink
fix mdctl builds on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani committed Jan 23, 2025
1 parent b388460 commit 327d19b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions mods/pkgs/mdctl-alpha/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ pkgs ? import <nixpkgs> { }, nodejs ? pkgs.nodejs_20 }:
{ pkgs ? import <nixpkgs> { }, nodejs ? pkgs.nodejs_22 }:
with pkgs; with lib; with builtins;
let
yarn2nix = yarn2nix-moretea.override { inherit nodejs; };
osSpecific = with pkgs.darwin.apple_sdk.frameworks; if pkgs.stdenv.isDarwin then [ Security AppKit xcbuild ] else [ ];
osSpecific = with pkgs.darwin.apple_sdk.frameworks; if pkgs.stdenv.isDarwin then [ Security AppKit xcbuild darwin.cctools ] else [ ];
json = fromJSON (readFile ./package.json);
pname = replaceStrings [ "@" "/" ] [ "" "-" ] (head (attrNames json.dependencies));
version = head (attrValues json.dependencies);
Expand Down
4 changes: 2 additions & 2 deletions mods/pkgs/mdctl/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ pkgs ? import <nixpkgs> { }, nodejs ? pkgs.nodejs_20 }:
{ pkgs ? import <nixpkgs> { }, nodejs ? pkgs.nodejs_22 }:
with pkgs; with lib; with builtins;
let
yarn2nix = yarn2nix-moretea.override { inherit nodejs; };
osSpecific = with pkgs.darwin.apple_sdk.frameworks; if pkgs.stdenv.isDarwin then [ Security AppKit xcbuild ] else [ ];
osSpecific = with pkgs.darwin.apple_sdk.frameworks; if pkgs.stdenv.isDarwin then [ Security AppKit xcbuild darwin.cctools ] else [ ];
json = fromJSON (readFile ./package.json);
pname = replaceStrings [ "@" "/" ] [ "" "-" ] (head (attrNames json.dependencies));
version = head (attrValues json.dependencies);
Expand Down
4 changes: 2 additions & 2 deletions pins/jpetrucciani.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date": "2025-01-23",
"rev": "fde3e768e7990b4ab54e988c4ac8429d7c661ef2",
"sha256": "0szidhiq6xqphi3jadzs1mhkwid60c51yhd615vbxscdcjv5nhwp"
"rev": "b4ce5d3cb5d030723ce69b00aee77ff8203df21a",
"sha256": "1k7z653g5dhz5k5l9sv5nz33srxsfznd03975hb7d7hfxhrxz4vl"
}

0 comments on commit 327d19b

Please sign in to comment.