mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
d89c825ec0
svn path=/nixpkgs/trunk/; revision=8300
22 lines
599 B
Bash
22 lines
599 B
Bash
source $stdenv/setup
|
|
|
|
# Hack to prevent dhclient from overriding the PATH specified with
|
|
# '-e' on the command-line.
|
|
makeFlagsArray=(CLIENT_PATH='\"FAKE_PATH=/nothing\"' \
|
|
USERBINDIR=$out/bin BINDIR=$out/sbin CLIENTBINDIR=$out/sbin \
|
|
ADMMANDIR=$out/share/man/man8 FFMANDIR=$out/share/man/man5 \
|
|
LIBMANDIR=$out/share/man/man3 USRMANDIR=$out/share/man/man1 \
|
|
LIBDIR=$out/lib INCDIR=$out/include \
|
|
)
|
|
|
|
configurePhase=configurePhase
|
|
configurePhase() {
|
|
./configure
|
|
}
|
|
|
|
preBuild=preBuild
|
|
preBuild() {
|
|
substituteInPlace client/scripts/linux --replace /bin/bash $shell
|
|
}
|
|
|
|
genericBuild
|