Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 41 lines 739 B view raw
1{ lib, callPackage, ... }@args: 2 3let 4 common = opts: callPackage (import ./builder.nix lib opts); 5 extraArgs = builtins.removeAttrs args [ "callPackage" ]; 6in 7rec { 8 rke2_1_30 = common ( 9 (import ./1_30/versions.nix) 10 // { 11 updateScript = [ 12 ./update-script.sh 13 "30" 14 ]; 15 } 16 ) extraArgs; 17 18 rke2_1_31 = common ( 19 (import ./1_31/versions.nix) 20 // { 21 updateScript = [ 22 ./update-script.sh 23 "31" 24 ]; 25 } 26 ) extraArgs; 27 28 rke2_1_32 = common ( 29 (import ./1_32/versions.nix) 30 // { 31 updateScript = [ 32 ./update-script.sh 33 "32" 34 ]; 35 } 36 ) extraArgs; 37 38 # Automatically set by update script 39 rke2_stable = rke2_1_31; 40 rke2_latest = rke2_1_32; 41}