fix: pass system as args to wrappers

This commit is contained in:
Kat Inskip 2024-10-25 13:40:25 -04:00
parent 62f9200c84
commit 3fc769d61e
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
2 changed files with 7 additions and 6 deletions

View file

@ -12,7 +12,7 @@
checks = set.map (_: deployLib: deployLib.deployChecks inputs.self.deploy) inputs.deploy-rs.lib; checks = set.map (_: deployLib: deployLib.deployChecks inputs.self.deploy) inputs.deploy-rs.lib;
in in
{ {
inherit inputs tree std pkgs formatter lib checks; inherit inputs tree std pkgs formatter lib checks wrappers;
legacyPackages = pkgs; legacyPackages = pkgs;
packages = pkgs // wrappers; packages = pkgs // wrappers;
} }

View file

@ -1,9 +1,10 @@
{ {
inputs, inputs,
... ...
}@args: let }@args:
in inputs.utils.lib.eachDefaultSystem (system: let
inputs.utils.lib.eachDefaultSystem (system: { newArgs = args // { inherit system; };
nf-actions-test = import ./nf-actions-test.nix args; in {
nf-generate = import ./nf-generate.nix args; nf-actions-test = import ./nf-actions-test.nix newArgs;
nf-generate = import ./nf-generate.nix newArgs;
}) })