diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2017-02-09 11:21:07 -0500 |
---|---|---|
committer | John Ericson <Ericson2314@Yahoo.com> | 2017-02-09 11:54:17 -0500 |
commit | d680f541bf7a1e369cd9faade3ed5618b5917087 (patch) | |
tree | aac28e32dfefd0d502e6e61e1a455e390b475a58 /pkgs/top-level/impure.nix | |
parent | 8cd4c31d6b8c6432986edf0ec5d00d2fe1c12854 (diff) |
top-level: Hack around Nix's --arg logic not handling unnamed params
Diffstat (limited to 'pkgs/top-level/impure.nix')
-rw-r--r-- | pkgs/top-level/impure.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/top-level/impure.nix b/pkgs/top-level/impure.nix index 98094e931600..61ef729fa104 100644 --- a/pkgs/top-level/impure.nix +++ b/pkgs/top-level/impure.nix @@ -18,6 +18,11 @@ in # so we do it now. localSystem ? builtins.intersectAttrs { system = null; platform = null; } args +, # These are needed only because nix's `--arg` command-line logic doesn't work + # with unnamed parameters allowed by ... + system ? localSystem.system +, platform ? localSystem.platform + , # Fallback: The contents of the configuration file found at $NIXPKGS_CONFIG or # $HOME/.config/nixpkgs/config.nix. config ? let |