diff --git a/release.nix b/release.nix index 7fb07f2..4d49dda 100644 --- a/release.nix +++ b/release.nix @@ -78,6 +78,8 @@ in let in nixpkgs; +in { + # 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. @@ -95,6 +97,19 @@ in let '' + 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 { } { } ) ) ); + }; +}