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

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