3
0
Fork 0
forked from mirrors/nixpkgs

x86_64-darwin support for perl

svn path=/nixpkgs/trunk/; revision=18652
This commit is contained in:
Rob Vermaas 2009-11-26 15:50:10 +00:00
parent 26df837413
commit 95970eb095

View file

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