daemontools: fix svscanboot PATH variable
The svscanboot script should use the /nix/store/... PATH.
This commit is contained in:
parent
c6b64a9bfe
commit
ee1ec9afd1
@ -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 New Issue
Block a user