From 48fbacbcba39b9819f0542d360e782db24565055 Mon Sep 17 00:00:00 2001 From: Guillem Cordoba Date: Tue, 10 Sep 2024 14:02:46 +0200 Subject: [PATCH] Fixed macos wrong xcrun --- flake.nix | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/flake.nix b/flake.nix index d7c205c..09d4b1c 100644 --- a/flake.nix +++ b/flake.nix @@ -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: