x86_64-darwin support for perl
svn path=/nixpkgs/trunk/; revision=18652
This commit is contained in:
parent
26df837413
commit
95970eb095
@ -46,7 +46,7 @@ stdenv.mkDerivation {
|
||||
preBuild =
|
||||
''
|
||||
# Make Cwd work on NixOS (where we don't have a /bin/pwd).
|
||||
${if stdenv.system == "i686-darwin" then "" else "substituteInPlace lib/Cwd.pm --replace \"'/bin/pwd'\" \"'$(type -tP pwd)'\""}
|
||||
${if stdenv.isDarwin then "" else "substituteInPlace lib/Cwd.pm --replace \"'/bin/pwd'\" \"'$(type -tP pwd)'\""}
|
||||
'';
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
Loading…
Reference in New Issue
Block a user