nixos/bird: fix checkConfig with cross-compilation

This commit is contained in:
Yureka 2023-07-31 13:47:07 +02:00
parent 0b5456b363
commit 31d4a4af19

View File

@ -61,7 +61,7 @@ in
checkPhase = optionalString cfg.checkConfig ''
ln -s $out bird2.conf
${cfg.preCheckConfig}
${pkgs.bird}/bin/bird -d -p -c bird2.conf
${pkgs.buildPackages.bird}/bin/bird -d -p -c bird2.conf
'';
};