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'
|
||||
# (to be used in 'shell.nix').
|
||||
|
||||
{ src }:
|
||||
{ src, system ? builtins.currentSystem or "unknown-system" }:
|
||||
|
||||
let
|
||||
|
||||
|
@ -69,8 +69,6 @@ let
|
|||
|
||||
result = callFlake src' (lockFile.inputs);
|
||||
|
||||
system = builtins.currentSystem or "unknown-system";
|
||||
|
||||
in
|
||||
assert lockFile.version == 4;
|
||||
|
||||
|
|
Loading…
Reference in a new issue