Merge pull request #1 from zimbatm/parameterized-system

parameterize the system attribute
This commit is contained in:
Eelco Dolstra 2020-03-29 17:59:23 +02:00 committed by GitHub
commit c7b5800e53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;