home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ec0ac83680466dbf4d064ded3e400a95ef53c3b9
parent 7c82010ac2208bf70c3d44a41200d28e2f9cd15d
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Sat,  6 Jun 2020 13:44:53 +0200

nix: update and move channels.nix

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Anix/channels.nix | 37+++++++++++++++++++++++++++++++++++++
Dtmp/channels.nix | 35-----------------------------------
2 files changed, 37 insertions(+), 35 deletions(-)

diff --git a/nix/channels.nix b/nix/channels.nix @@ -0,0 +1,37 @@ +let + mapAttrs = f: set: builtins.listToAttrs ( + map + (attr: { name = attr; value = f set.${attr}; }) + (builtins.attrNames set) + ); + channels = { + aardvark = "13.10"; + baboon = "14.04"; + caterpillar = "14.12"; + dingo = "15.09"; + emu = "16.03"; + flounder = "16.09"; + gorilla = "17.03"; + v17_03 = "17.03"; + hummingbird = "17.09"; + v17_09 = "17.09"; + impala = "18.03"; + v18_03 = "18.03"; + jellyfish = "18.09"; + v18_09 = "18.09"; + koi = "19.03"; + v19_03 = "19.03"; + loris = "19.09"; + v19_09 = "19.09"; + markhor = "20_03"; + v20_03 = "20.03"; + unstable = "unstable"; + }; +in +mapAttrs + (v: + import + (builtins.fetchTarball + "https://nixos.org/channels/nixos-${v}/nixexprs.tar.xz") { } + ) + channels diff --git a/tmp/channels.nix b/tmp/channels.nix @@ -1,35 +0,0 @@ -let - mapAttrs = f: set: builtins.listToAttrs ( - map - (attr: { name = attr; value = f set.${attr}; }) - (builtins.attrNames set) - ); - channels = { - aardvark = "13.10"; - baboon = "14.04"; - caterpillar = "14.12"; - dingo = "15.09"; - emu = "16.03"; - flounder = "16.09"; - gorilla = "17.03"; - v17_03 = "17.03"; - hummingbird = "17.09"; - v17_09 = "17.09"; - impala = "18.03"; - v18_03 = "18.03"; - jellyfish = "18.09"; - v18_09 = "18.09"; - koi = "19.03"; - v19_03 = "19.03"; - loris = "19.09"; - v19_09 = "19.09"; - unstable = "unstable"; - }; -in -mapAttrs - (v: - import - (builtins.fetchTarball - "https://nixos.org/channels/nixos-${v}/nixexprs.tar.xz") { } - ) - channels