Merge pull request #56237 from LnL7/expose-overlays

pkgs/top-level: expose current overlays in pkgs
This commit is contained in:
Danylo Hlynskyi 2019-03-05 03:06:21 +02:00 committed by GitHub
commit b421183b34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
* to merges. Please use the full-text search of your editor. ;) * to merges. Please use the full-text search of your editor. ;)
* Hint: ### starts category names. * Hint: ### starts category names.
*/ */
{ lib, noSysDirs, config}: { lib, noSysDirs, config, overlays }:
res: pkgs: super: res: pkgs: super:
with pkgs; with pkgs;
@ -61,7 +61,7 @@ in
### Helper functions. ### Helper functions.
inherit lib config; inherit lib config overlays;
inherit (lib) lowPrio hiPrio appendToName makeOverridable; inherit (lib) lowPrio hiPrio appendToName makeOverridable;

View File

@ -91,7 +91,7 @@ let
allPackages = self: super: allPackages = self: super:
let res = import ./all-packages.nix let res = import ./all-packages.nix
{ inherit lib noSysDirs config; } { inherit lib noSysDirs config overlays; }
res self super; res self super;
in res; in res;