git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #92628 from jtojnar/update-overlays

update.nix: Allow passing overlays

commit43259950eb82f47a11bd455889963999788b5ec3 authorJan Tojnar <jtojnar@gmail.com> dateSat 18 Jul 2020, 06:50 (6 years ago) parentfb7507d5b3fe9f
1 file changed+7−1
maintainers/scripts/update.nix+7−1
maintainers/scripts/update.nix+7−1
@@ -9,7 +9,13 @@
99# TODO: add assert statements
1010
1111let
12− pkgs = import ./../../default.nix (if include-overlays then { } else { overlays = []; });
12+ pkgs = import ./../../default.nix (
13+ if include-overlays == false then
14+ { overlays = []; }
15+ else if include-overlays == true then
16+ { } # Let Nixpkgs include overlays impurely.
17+ else { overlays = include-overlays; }
18+ );
1319
1420 inherit (pkgs) lib;
1521