1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

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