You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
643 B
Nix
27 lines
643 B
Nix
let
|
|
nixpkgs = import <nixpkgs-stable>;
|
|
|
|
buildPath = path:
|
|
{system ? builtins.currentSystem}:
|
|
let
|
|
nixpkgsWithOverlays = nixpkgs {
|
|
inherit system;
|
|
overlays = [
|
|
(import ../default.nix)
|
|
];
|
|
};
|
|
in
|
|
nixpkgsWithOverlays.lib.getAttr path nixpkgsWithOverlays;
|
|
|
|
fakeOverlay = (import ../default.nix) null null;
|
|
packages = builtins.attrNames fakeOverlay.morepkgs;
|
|
generateBuilder = packageName: buildPath "morepkgs.${packageName}";
|
|
|
|
generatePackagePair = packageName: {
|
|
name = packageName;
|
|
value = generateBuilder packageName;
|
|
};
|
|
|
|
jobs = builtins.listToAttrs (map generatePackagePair packages);
|
|
in jobs
|