Include hydra targets for contained pkgs and temporaries
This commit is contained in:
19
release.nix
19
release.nix
@@ -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 { } { } ) ) );
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user