Fixing the sysvinit crossbuild (now yes)
svn path=/nixpkgs/branches/stdenv-updates/; revision=24885
This commit is contained in:
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
# Patch some minimal hard references, so halt/shutdown work
|
# Patch some minimal hard references, so halt/shutdown work
|
||||||
sed -i -e 's,/sbin/,$out/sbin/,' src/halt.c src/init.c src/paths.h
|
sed -i -e "s,/sbin/,$out/sbin/," src/halt.c src/init.c src/paths.h
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = "SULOGINLIBS=-lcrypt ROOT=$(out) MANDIR=/share/man";
|
makeFlags = "SULOGINLIBS=-lcrypt ROOT=$(out) MANDIR=/share/man";
|
||||||
|
|||||||
Reference in New Issue
Block a user