Skip to content
Unverified Commit 135f263b authored by Daiderd Jordan's avatar Daiderd Jordan
Browse files

pkgs/top-level: expose current overlays in pkgs

This enables inspection of the currently used overlays. Useful for
usecases where nixpkgs is imported multiple times.
eg. different channels

	self: super:
	let
	  latest = import <nixpkgs-trunk> {
	    inherit (super) config overlays;
	  };
	in
	{
	  hello-custom-latest = latest.hello-custom;
	}
parent 7ad31a33
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment