0bcb052284
This makes the callPackage detection stronger by syntactically detecting whether an attribute is using callPackage See the added test case for why this is needed.
8 lines
150 B
Nix
8 lines
150 B
Nix
self: super: {
|
|
set = self.callPackages ({ callPackage }: {
|
|
foo = callPackage ({ someDrv }: someDrv) { };
|
|
}) { };
|
|
|
|
inherit (self.set) foo;
|
|
}
|