forked from mirrors/nixpkgs
icinga2: Fix path to icinga2 binary
I broke it in my LTO PR :-(
This commit is contained in:
parent
d44055cccc
commit
52188a4cbf
|
@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# Get rid of sbin
|
||||
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
|
||||
|
||||
${lib.optionalString withMysql ''
|
||||
|
|
Loading…
Reference in a new issue