Merge pull request #222801 from gounselor/master
daemontools: fix svscanboot PATH variable
This commit is contained in:
commit
39de70afeb
|
@ -46,6 +46,10 @@ stdenv.mkDerivation rec {
|
|||
tar -xz --strip-components=2 -f ${man-pages}
|
||||
installManPage daemontools-man/*.8
|
||||
install -v -Dm644 daemontools-man/README $man/share/doc/daemontools/README.man
|
||||
# fix svscanboot
|
||||
sed -i "s_/command/__" "$out/bin/svscanboot"
|
||||
sed -i "s_/service_/var/service_g" "$out/bin/svscanboot"
|
||||
sed -i "s_^PATH=.*_PATH=$out/bin:\$PATH_" "$out/bin/svscanboot"
|
||||
'';
|
||||
|
||||
# Keep README.man in the man output (see _multioutDocs())
|
||||
|
|
Loading…
Reference in a new issue