Merge pull request #246343 from yu-re-ka/bird-cross

nixos/bird: fix checkConfig with cross-compilation
This commit is contained in:
Nick Cao 2023-07-31 19:13:47 -06:00 committed by GitHub
commit 0d8bcf32a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
'';
};