top-level: Hack around Nix's --arg logic not handling unnamed params
commitd680f541bf7a1e369cd9faade3ed5618b5917087
authorJohn Ericson <Ericson2314@Yahoo.com>
dateThu 9 Feb 2017, 11:21 (10 years ago)
parent8cd4c31
pkgs/top-level/impure.nix+5
@@ -18,6 +18,11 @@ in
1818 # so we do it now.
1919 localSystem ? builtins.intersectAttrs { system = null; platform = null; } args
2020
21+, # These are needed only because nix's `--arg` command-line logic doesn't work
22+ # with unnamed parameters allowed by ...
23+ system ? localSystem.system
24+, platform ? localSystem.platform
25+
2126, # Fallback: The contents of the configuration file found at $NIXPKGS_CONFIG or
2227 # $HOME/.config/nixpkgs/config.nix.
2328 config ? let