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
nixpkgsWithOverlays.lib.getAttr path nixpkgsWithOverlays;
nixpkgsWithOverlays.lib.getAttrFromPath path nixpkgsWithOverlays;
fakeOverlay = (import ../default.nix) null null;
packages = builtins.attrNames fakeOverlay.morepkgs;
generateBuilder = packageName: buildPath "morepkgs.${packageName}";
generateBuilder = packageName: buildPath ["morepkgs" packageName];
generatePackagePair = packageName: {
name = packageName;

Loading…
Cancel
Save