give pkgs a reference to itself.
As discussed on nix-dev, this allows me to create a separate package repository which can be used like all-packages.nix (callPackage), without the need to run from a forked tree.
This commit is contained in:
parent
03d98589e2
commit
62f698dfd3
@ -131,7 +131,7 @@ let
|
|||||||
# `__overrides' is a magic attribute that causes the attributes in
|
# `__overrides' is a magic attribute that causes the attributes in
|
||||||
# its value to be added to the surrounding `rec'. We'll remove this
|
# its value to be added to the surrounding `rec'. We'll remove this
|
||||||
# eventually.
|
# eventually.
|
||||||
inherit __overrides;
|
inherit __overrides pkgs;
|
||||||
|
|
||||||
|
|
||||||
# We use `callPackage' to be able to omit function arguments that
|
# We use `callPackage' to be able to omit function arguments that
|
||||||
|
Loading…
x
Reference in New Issue
Block a user