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

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