mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
svn path=/nixpkgs/branches/stdenv-updates/; revision=13944
This commit is contained in:
parent
c9b6da363f
commit
9f3a83f247
@ -9,13 +9,11 @@ configureScript=./Configure
|
|||||||
configureFlags="-de -Dcc=gcc -Dprefix=$out -Dman1dir=$out/share/man/man1 -Dman3dir=$out/share/man/man3 -Uinstallusrbinperl $extraflags"
|
configureFlags="-de -Dcc=gcc -Dprefix=$out -Dman1dir=$out/share/man/man1 -Dman3dir=$out/share/man/man3 -Uinstallusrbinperl $extraflags"
|
||||||
dontAddPrefix=1
|
dontAddPrefix=1
|
||||||
|
|
||||||
preBuild=preBuild
|
|
||||||
preBuild() {
|
preBuild() {
|
||||||
# Make Cwd work on NixOS (where we don't have a /bin/pwd).
|
# Make Cwd work on NixOS (where we don't have a /bin/pwd).
|
||||||
substituteInPlace lib/Cwd.pm --replace "'/bin/pwd'" "'$(type -tP pwd)'"
|
substituteInPlace lib/Cwd.pm --replace "'/bin/pwd'" "'$(type -tP pwd)'"
|
||||||
}
|
}
|
||||||
|
|
||||||
postInstall=postInstall
|
|
||||||
postInstall() {
|
postInstall() {
|
||||||
ensureDir "$out/nix-support"
|
ensureDir "$out/nix-support"
|
||||||
cp $setupHook $out/nix-support/setup-hook
|
cp $setupHook $out/nix-support/setup-hook
|
||||||
|
Loading…
Reference in New Issue
Block a user