diff options
Diffstat (limited to 'third_party/nixpkgs')
-rw-r--r-- | third_party/nixpkgs/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/third_party/nixpkgs/default.nix b/third_party/nixpkgs/default.nix index 11833077628a..27a5a8673e1a 100644 --- a/third_party/nixpkgs/default.nix +++ b/third_party/nixpkgs/default.nix @@ -6,7 +6,7 @@ # in //default.nix passes this attribute as the `pkgs` argument to all # readTree derivations. -{ depot, externalArgs, ... }: +{ depot ? {}, externalArgs ? {}, depotOverlays ? true, ... }: let # This provides the sources of nixpkgs. We track both @@ -66,12 +66,14 @@ in import nixpkgsSrc { allowUnfree = true; allowBroken = true; }; + overlays = [ commitsOverlay stableOverlay + ] ++ (if depotOverlays then [ depot.third_party.overlays.haskell depot.third_party.overlays.emacs depot.third_party.overlays.tvl depot.third_party.overlays.ecl-static - ]; + ] else []); } |