From da8b05363b339e6bbe6b9f38ce6275643ba6798b Mon Sep 17 00:00:00 2001 From: Tomas Hlavaty Date: Sat, 3 Oct 2015 00:15:13 +0200 Subject: [PATCH] sbclBootstrap: don't patchelf on darwin https://github.com/NixOS/nixpkgs/commit/00935b25541bea0d6324e08e2e3821ac5cad09fd#commitcomment-13552300 --- pkgs/development/compilers/sbcl/bootstrap.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/sbcl/bootstrap.nix b/pkgs/development/compilers/sbcl/bootstrap.nix index 0b5b48e088ee..6e9124af6116 100644 --- a/pkgs/development/compilers/sbcl/bootstrap.nix +++ b/pkgs/development/compilers/sbcl/bootstrap.nix @@ -46,7 +46,7 @@ stdenv.mkDerivation rec { --add-flags "--core $out/share/sbcl/sbcl.core" ''; - postFixup = stdenv.lib.optionalString (!stdenv.isArm) '' + postFixup = stdenv.lib.optionalString (!stdenv.isArm && stdenv.isLinux) '' patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $out/share/sbcl/sbcl '';