diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-04-14 18:48:11 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-04-14 18:48:11 +0200 |
commit | ef902274fd4b1c13732851e6cbfa00d4d4e46821 (patch) | |
tree | f9c4ecdc6dba5e775f5d1ba18d2c37d2ca615529 /corepkgs | |
parent | e855c7e2c9a9a5cbe4406c1f9351181a9ebe6283 (diff) |
Remove unnecessary "system" argument
Diffstat (limited to 'corepkgs')
-rw-r--r-- | corepkgs/buildenv.nix | 4 | ||||
-rw-r--r-- | corepkgs/nar.nix | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/corepkgs/buildenv.nix b/corepkgs/buildenv.nix index 6e2bee10b..641231dd9 100644 --- a/corepkgs/buildenv.nix +++ b/corepkgs/buildenv.nix @@ -1,10 +1,10 @@ with import <nix/config.nix>; -{ system, derivations, manifest }: +{ derivations, manifest }: derivation { name = "user-environment"; - system = system; + system = builtins.currentSystem; builder = perl; args = [ "-w" ./buildenv.pl ]; diff --git a/corepkgs/nar.nix b/corepkgs/nar.nix index 70a4af2f9..5be8be10c 100644 --- a/corepkgs/nar.nix +++ b/corepkgs/nar.nix @@ -20,11 +20,12 @@ let in -{ system, storePath, hashAlgo }: +{ storePath, hashAlgo }: derivation { name = "nar"; + system = builtins.currentSystem; builder = shell; args = [ "-e" builder ]; - inherit system storePath hashAlgo; + inherit storePath hashAlgo; } |