mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Fixing the sysvinit crossbuild (now yes)
svn path=/nixpkgs/branches/stdenv-updates/; revision=24885
This commit is contained in:
parent
614c40a1e1
commit
c1dc539303
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user