treewide: pass permittedInsecurePackages directly to bolt-launcher in outputs

This commit is contained in:
Anthony Rodriguez 2024-11-06 16:38:29 +01:00
parent 645c8cfbf0
commit 84a77fdc97
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
2 changed files with 14 additions and 3 deletions

View file

@ -29,7 +29,7 @@
lib' = import ./lib {inherit inputs lib';};
in
import ./hosts {inherit inputs lib';};
packages = eachSystem (pkgs: import ./pkgs pkgs);
packages = eachSystem (pkgs: import ./pkgs {inherit inputs pkgs;});
deploy.nodes = import ./nodes {inherit self inputs;};
};
inputs = {

View file

@ -1,4 +1,15 @@
pkgs: {
{
inputs,
pkgs,
...
}: {
mcuxpresso = import ./mcuxpresso pkgs;
bolt-launcher = pkgs.callPackage ./bolt-launcher.nix {};
# this is unfortunately needed since bolt-launcher makes use of openssl-1.1.1w, and since it is not part of hosts, we have to add it this way
bolt-launcher =
(import inputs.nixpkgs {
inherit (pkgs) system;
config.permittedInsecurePackages = ["openssl-1.1.1w"];
})
.callPackage
./bolt-launcher.nix {};
}