From 11eddd61bcd2618563d8023bef4572be88c1f096 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Thu, 1 Oct 2020 11:21:32 -0700 Subject: [PATCH] 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). --- pkgs/top-level/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/top-level/default.nix b/pkgs/top-level/default.nix index 904ef8d3979..dfa68ba31b8 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