diff options
Diffstat (limited to 'pkgs/top-level/default.nix')
-rw-r--r-- | pkgs/top-level/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/default.nix b/pkgs/top-level/default.nix index 10d0c79b21296..e95a0db78c3cc 100644 --- a/pkgs/top-level/default.nix +++ b/pkgs/top-level/default.nix @@ -49,7 +49,7 @@ let # Rename the function arguments in let lib = import ../../lib; - throwIfNot = b: msg: if b then x: x else throw msg; + inherit (lib) throwIfNot; checked = throwIfNot (lib.isList overlays) "The overlays argument to nixpkgs must be a list." |