diff options
author | Cole Helbling <cole.e.helbling@outlook.com> | 2020-10-01 11:21:32 -0700 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2020-10-01 11:21:32 -0700 |
commit | 11eddd61bcd2618563d8023bef4572be88c1f096 (patch) | |
tree | 4f213201aea524d9f321f058fde6a65c6acdf989 /pkgs/top-level/default.nix | |
parent | d91cab87b14b0d3034ecadb4665d0fe6f723acfc (diff) | |
download | nixlib-11eddd61bcd2618563d8023bef4572be88c1f096.tar nixlib-11eddd61bcd2618563d8023bef4572be88c1f096.tar.gz nixlib-11eddd61bcd2618563d8023bef4572be88c1f096.tar.bz2 nixlib-11eddd61bcd2618563d8023bef4572be88c1f096.tar.lz nixlib-11eddd61bcd2618563d8023bef4572be88c1f096.tar.xz nixlib-11eddd61bcd2618563d8023bef4572be88c1f096.tar.zst nixlib-11eddd61bcd2618563d8023bef4572be88c1f096.zip |
top-level: ignore unexpected args
This fixes both `nix-shell` failing to eval with `nixUnstable`, as well as ofborg's failure to eval on aarch64 due to passing an "unexpected arg" (https://github.com/NixOS/ofborg/blob/1112e3a8c8621203fae71283d700e0383b5e1e80/ofborg/src/nix.rs#L334-L340).
Diffstat (limited to 'pkgs/top-level/default.nix')
-rw-r--r-- | pkgs/top-level/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/top-level/default.nix b/pkgs/top-level/default.nix index 904ef8d39796..dfa68ba31b84 100644 --- a/pkgs/top-level/default.nix +++ b/pkgs/top-level/default.nix @@ -38,6 +38,9 @@ # environment. See below for the arguments given to that function, the type of # list it returns. stdenvStages ? import ../stdenv + +, # Ignore unexpected args. + ... } @ args: let # Rename the function arguments |