about summary refs log tree commit diff
path: root/pkgs/development/tools/continuous-integration
diff options
context:
space:
mode:
authorRaito Bezarius <masterancpp@gmail.com>2023-10-30 15:00:22 +0100
committerRaito Bezarius <masterancpp@gmail.com>2023-11-17 20:26:55 +0100
commita2976db919afc97b69ce3b7699a1a44ce61bbe5f (patch)
treee64f394e86550d11beff1000f4610b4fb7e25c36 /pkgs/development/tools/continuous-integration
parentad11438d0913939b07ac95e6871d76b3e83ff713 (diff)
downloadnixlib-a2976db919afc97b69ce3b7699a1a44ce61bbe5f.tar
nixlib-a2976db919afc97b69ce3b7699a1a44ce61bbe5f.tar.gz
nixlib-a2976db919afc97b69ce3b7699a1a44ce61bbe5f.tar.bz2
nixlib-a2976db919afc97b69ce3b7699a1a44ce61bbe5f.tar.lz
nixlib-a2976db919afc97b69ce3b7699a1a44ce61bbe5f.tar.xz
nixlib-a2976db919afc97b69ce3b7699a1a44ce61bbe5f.tar.zst
nixlib-a2976db919afc97b69ce3b7699a1a44ce61bbe5f.zip
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.
Diffstat (limited to 'pkgs/development/tools/continuous-integration')
-rw-r--r--pkgs/development/tools/continuous-integration/github-runner/default.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/development/tools/continuous-integration/github-runner/default.nix b/pkgs/development/tools/continuous-integration/github-runner/default.nix
index 57a78dbb3101..c0c15a121738 100644
--- a/pkgs/development/tools/continuous-integration/github-runner/default.nix
+++ b/pkgs/development/tools/continuous-integration/github-runner/default.nix
@@ -15,12 +15,11 @@
 , runtimeShell
   # List of Node.js runtimes the package should support
 , nodeRuntimes ? [ "node20" ]
-, nodejs_16
 , nodejs_20
 }:
 
 # Node.js runtimes supported by upstream
-assert builtins.all (x: builtins.elem x [ "node16" "node20" ]) nodeRuntimes;
+assert builtins.all (x: builtins.elem x [ "node20" ]) nodeRuntimes;
 
 buildDotnetModule rec {
   pname = "github-runner";
@@ -210,8 +209,6 @@ buildDotnetModule rec {
 
   preCheck = ''
     mkdir -p _layout/externals
-  '' + lib.optionalString (lib.elem "node16" nodeRuntimes) ''
-    ln -s ${nodejs_16} _layout/externals/node16
   '' + lib.optionalString (lib.elem "node20" nodeRuntimes) ''
     ln -s ${nodejs_20} _layout/externals/node20
   '';
@@ -250,8 +247,6 @@ buildDotnetModule rec {
     # externals/node$version. As opposed to the official releases, we don't
     # link the Alpine Node flavors.
     mkdir -p $out/lib/externals
-  '' + lib.optionalString (lib.elem "node16" nodeRuntimes) ''
-    ln -s ${nodejs_16} $out/lib/externals/node16
   '' + lib.optionalString (lib.elem "node20" nodeRuntimes) ''
     ln -s ${nodejs_20} $out/lib/externals/node20
   '' + ''