Skip to content

Commit

Permalink
Fixed macos wrong xcrun
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Sep 10, 2024
1 parent b35e365 commit 48fbacb
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,15 @@ rec {
apple_sdk.frameworks.AppKit
apple_sdk.frameworks.WebKit

(if pkgs.system == "x86_64-darwin" then
pkgs.darwin.apple_sdk_11_0.stdenv.mkDerivation {
name = "go";
nativeBuildInputs = with pkgs; [ makeBinaryWrapper go ];
dontBuild = true;
dontUnpack = true;
installPhase = ''
makeWrapper ${pkgs.go}/bin/go $out/bin/go
'';
}
else
pkgs.go)
(pkgs.darwin.apple_sdk_11_0.stdenv.mkDerivation {
name = "go";
nativeBuildInputs = with pkgs; [ makeBinaryWrapper go ];
dontBuild = true;
dontUnpack = true;
installPhase = ''
makeWrapper ${pkgs.go}/bin/go $out/bin/go
'';
})
]));

filterByHolochainPackageType = holochainPackageType: packages:
Expand Down

0 comments on commit 48fbacb

Please sign in to comment.