Merge pull request #92628 from jtojnar/update-overlays
update.nix: Allow passing overlays
This commit is contained in:
commit
43259950eb
1 changed files with 7 additions and 1 deletions
|
@ -9,7 +9,13 @@
|
|||
# TODO: add assert statements
|
||||
|
||||
let
|
||||
pkgs = import ./../../default.nix (if include-overlays then { } else { overlays = []; });
|
||||
pkgs = import ./../../default.nix (
|
||||
if include-overlays == false then
|
||||
{ overlays = []; }
|
||||
else if include-overlays == true then
|
||||
{ } # Let Nixpkgs include overlays impurely.
|
||||
else { overlays = include-overlays; }
|
||||
);
|
||||
|
||||
inherit (pkgs) lib;
|
||||
|
||||
|
|
Loading…
Reference in a new issue