Merge pull request #1 from zimbatm/parameterized-system
parameterize the system attribute
This commit is contained in:
commit
c7b5800e53
|
@ -5,7 +5,7 @@
|
||||||
# containing 'defaultNix' (to be used in 'default.nix'), 'shellNix'
|
# containing 'defaultNix' (to be used in 'default.nix'), 'shellNix'
|
||||||
# (to be used in 'shell.nix').
|
# (to be used in 'shell.nix').
|
||||||
|
|
||||||
{ src }:
|
{ src, system ? builtins.currentSystem or "unknown-system" }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
@ -69,8 +69,6 @@ let
|
||||||
|
|
||||||
result = callFlake src' (lockFile.inputs);
|
result = callFlake src' (lockFile.inputs);
|
||||||
|
|
||||||
system = builtins.currentSystem or "unknown-system";
|
|
||||||
|
|
||||||
in
|
in
|
||||||
assert lockFile.version == 4;
|
assert lockFile.version == 4;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue