mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 13:53:24 +00:00
Merge pull request #146606 from helsinki-systems/fix/icinga2-path
icinga2: Fix path to icinga2 binary
This commit is contained in:
commit
0c67596504
@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# Get rid of sbin
|
# Get rid of sbin
|
||||||
sed -i 's/sbin/bin/g' $out/lib/icinga2/safe-reload
|
sed -i 's/sbin/bin/g' $out/lib/icinga2/safe-reload
|
||||||
sed -i 's/sbin/bin/g' $out/bin/icinga2
|
sed -i "2s:.*:ICINGA2_BIN=$out/bin/icinga2:" $out/bin/icinga2
|
||||||
rm $out/sbin
|
rm $out/sbin
|
||||||
|
|
||||||
${lib.optionalString withMysql ''
|
${lib.optionalString withMysql ''
|
||||||
|
Loading…
Reference in New Issue
Block a user