mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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" (1112e3a8c8/ofborg/src/nix.rs (L334-L340)
).
This commit is contained in:
parent
d91cab87b1
commit
11eddd61bc
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue