sbclBootstrap: don't patchelf on darwin

00935b2554 (commitcomment-13552300)
This commit is contained in:
Tomas Hlavaty 2015-10-03 00:15:13 +02:00
parent 7b252d94a6
commit da8b05363b

View File

@ -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
'';