treewide: pass permittedInsecurePackages directly to bolt-launcher in outputs
This commit is contained in:
parent
645c8cfbf0
commit
84a77fdc97
2 changed files with 14 additions and 3 deletions
|
@ -29,7 +29,7 @@
|
||||||
lib' = import ./lib {inherit inputs lib';};
|
lib' = import ./lib {inherit inputs lib';};
|
||||||
in
|
in
|
||||||
import ./hosts {inherit inputs lib';};
|
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;};
|
deploy.nodes = import ./nodes {inherit self inputs;};
|
||||||
};
|
};
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
|
@ -1,4 +1,15 @@
|
||||||
pkgs: {
|
{
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
mcuxpresso = import ./mcuxpresso 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 {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue