Fixing the sysvinit crossbuild (now yes)

svn path=/nixpkgs/branches/stdenv-updates/; revision=24885
This commit is contained in:
Lluís Batlle i Rossell 2010-11-26 20:08:14 +00:00
parent 614c40a1e1
commit c1dc539303

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation {
prePatch = ''
# 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";