3
0
Fork 0
forked from mirrors/nixpkgs

icinga2: Fix path to icinga2 binary

I broke it in my LTO PR :-(
This commit is contained in:
Janne Heß 2021-11-19 11:46:51 +01:00
parent d44055cccc
commit 52188a4cbf
No known key found for this signature in database
GPG key ID: 69165158F05265DF

View file

@ -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 ''