lol

Merge pull request #22592 from Ericson2314/localSystem-fix

top-level: Hack around Nix's --arg logic not handling unnamed params

authored by

John Ericson and committed by
GitHub
18da9bc8 b1e254ac

+5
+5
pkgs/top-level/impure.nix
··· 18 18 # so we do it now. 19 19 localSystem ? builtins.intersectAttrs { system = null; platform = null; } args 20 20 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 + 21 26 , # Fallback: The contents of the configuration file found at $NIXPKGS_CONFIG or 22 27 # $HOME/.config/nixpkgs/config.nix. 23 28 config ? let