lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

github-runner: drop Node.js 16-related code

As Node.js 16 is dropped from nixpkgs, we don't need support code for Node.js 16 anymore.

+1 -6
+1 -6
pkgs/development/tools/continuous-integration/github-runner/default.nix
··· 15 15 , runtimeShell 16 16 # List of Node.js runtimes the package should support 17 17 , nodeRuntimes ? [ "node20" ] 18 - , nodejs_16 19 18 , nodejs_20 20 19 }: 21 20 22 21 # Node.js runtimes supported by upstream 23 - assert builtins.all (x: builtins.elem x [ "node16" "node20" ]) nodeRuntimes; 22 + assert builtins.all (x: builtins.elem x [ "node20" ]) nodeRuntimes; 24 23 25 24 buildDotnetModule rec { 26 25 pname = "github-runner"; ··· 210 209 211 210 preCheck = '' 212 211 mkdir -p _layout/externals 213 - '' + lib.optionalString (lib.elem "node16" nodeRuntimes) '' 214 - ln -s ${nodejs_16} _layout/externals/node16 215 212 '' + lib.optionalString (lib.elem "node20" nodeRuntimes) '' 216 213 ln -s ${nodejs_20} _layout/externals/node20 217 214 ''; ··· 250 247 # externals/node$version. As opposed to the official releases, we don't 251 248 # link the Alpine Node flavors. 252 249 mkdir -p $out/lib/externals 253 - '' + lib.optionalString (lib.elem "node16" nodeRuntimes) '' 254 - ln -s ${nodejs_16} $out/lib/externals/node16 255 250 '' + lib.optionalString (lib.elem "node20" nodeRuntimes) '' 256 251 ln -s ${nodejs_20} $out/lib/externals/node20 257 252 '' + ''