Include hydra targets for contained pkgs and temporaries

This commit is contained in:
Tyson Whitehead
2018-01-19 04:17:57 -05:00
parent 8b85483c50
commit 30dbd204e7

View File

@@ -78,6 +78,8 @@ in let
in in
nixpkgs; nixpkgs;
in {
# Tweak the nixos make-channel code to include the upstream channel. # Tweak the nixos make-channel code to include the upstream channel.
# #
# 1. Replace the git repo nixpkgs with a copy of the unpacked nixpkgs channel. # 1. Replace the git repo nixpkgs with a copy of the unpacked nixpkgs channel.
@@ -95,6 +97,19 @@ in let
'' + original.distPhase; '' + original.distPhase;
} ); } );
in overlays = {
# pkgs - Attribute set of overlayed pkgs.
#
pkgs =
builtins.listToAttrs
( builtins.map ( name: { inherit name; value = pkgs.${name}; } )
( builtins.attrNames ( import ./pkgs/all-packages.nix { } { } ) ) );
{ inherit channel; } # temporary - Attribute set of overlayed pkgs.
#
temporary =
builtins.listToAttrs
( map ( name: { inherit name; value = pkgs.${name}; } )
( builtins.attrNames ( import ./temporary/all-temporary.nix { } { } ) ) );
};
}