diff --git a/pkgs/development/interpreters/perl-5.10/builder.sh b/pkgs/development/interpreters/perl-5.10/builder.sh index 8e008cb4c637..c52288313dc5 100644 --- a/pkgs/development/interpreters/perl-5.10/builder.sh +++ b/pkgs/development/interpreters/perl-5.10/builder.sh @@ -9,13 +9,11 @@ configureScript=./Configure configureFlags="-de -Dcc=gcc -Dprefix=$out -Dman1dir=$out/share/man/man1 -Dman3dir=$out/share/man/man3 -Uinstallusrbinperl $extraflags" dontAddPrefix=1 -preBuild=preBuild preBuild() { # Make Cwd work on NixOS (where we don't have a /bin/pwd). substituteInPlace lib/Cwd.pm --replace "'/bin/pwd'" "'$(type -tP pwd)'" } -postInstall=postInstall postInstall() { ensureDir "$out/nix-support" cp $setupHook $out/nix-support/setup-hook