Use getAttrFromPath instead of getAttr to supported nested build paths

master
Sven Slootweg 6 years ago
parent 532aa97799
commit 09f47df63e

@ -11,11 +11,11 @@ let
]; ];
}; };
in in
nixpkgsWithOverlays.lib.getAttr path nixpkgsWithOverlays; nixpkgsWithOverlays.lib.getAttrFromPath path nixpkgsWithOverlays;
fakeOverlay = (import ../default.nix) null null; fakeOverlay = (import ../default.nix) null null;
packages = builtins.attrNames fakeOverlay.morepkgs; packages = builtins.attrNames fakeOverlay.morepkgs;
generateBuilder = packageName: buildPath "morepkgs.${packageName}"; generateBuilder = packageName: buildPath ["morepkgs" packageName];
generatePackagePair = packageName: { generatePackagePair = packageName: {
name = packageName; name = packageName;

Loading…
Cancel
Save