The NIX_PATH assembly now walks over all keys in the given channel repositories and assembles a NIX_PATH entry from it. Previously it made assumptions about a set of hardcoded keys being available, which wasn't ideal as it didn't allow device-entries.
30 lines
752 B
Nix
30 lines
752 B
Nix
let
|
|
nixpkgs = {
|
|
url = "https://github.com/NixOS/nixpkgs/";
|
|
ref = "nixos-20.09";
|
|
rev = "51aaa3fa1b69559456f9bd4968bd5b179a784f67";
|
|
};
|
|
in
|
|
|
|
{
|
|
inherit nixpkgs;
|
|
nixos = nixpkgs // {
|
|
suffix = "/nixos";
|
|
};
|
|
"channels-nixos-stable" = nixpkgs;
|
|
"channels-nixos-unstable" = {
|
|
url = "https://github.com/NixOS/nixpkgs/";
|
|
ref = "nixos-unstable";
|
|
rev = "24c9b05ac53e422f1af81a156f1fd58499eb27fb";
|
|
};
|
|
"nixpkgs-master" = {
|
|
url = "https://github.com/NixOS/nixpkgs/";
|
|
ref = "master";
|
|
rev = "396f3407a28a0ce8ee537d6f4440d3e6cb359570";
|
|
};
|
|
"home-manager-module" = {
|
|
url = "https://github.com/nix-community/home-manager";
|
|
ref = "release-20.09";
|
|
rev = "7339784e07217ed0232e08d1ea33b610c94657d8";
|
|
};
|
|
}
|