mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
Merge pull request #56237 from LnL7/expose-overlays
pkgs/top-level: expose current overlays in pkgs
This commit is contained in:
commit
b421183b34
@ -5,7 +5,7 @@
|
||||
* to merges. Please use the full-text search of your editor. ;)
|
||||
* Hint: ### starts category names.
|
||||
*/
|
||||
{ lib, noSysDirs, config}:
|
||||
{ lib, noSysDirs, config, overlays }:
|
||||
res: pkgs: super:
|
||||
|
||||
with pkgs;
|
||||
@ -61,7 +61,7 @@ in
|
||||
|
||||
|
||||
### Helper functions.
|
||||
inherit lib config;
|
||||
inherit lib config overlays;
|
||||
|
||||
inherit (lib) lowPrio hiPrio appendToName makeOverridable;
|
||||
|
||||
|
@ -91,7 +91,7 @@ let
|
||||
|
||||
allPackages = self: super:
|
||||
let res = import ./all-packages.nix
|
||||
{ inherit lib noSysDirs config; }
|
||||
{ inherit lib noSysDirs config overlays; }
|
||||
res self super;
|
||||
in res;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user