diff options
author | Bobby Rong <rjl931189261@126.com> | 2021-12-31 12:11:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-31 12:11:14 +0800 |
commit | 1e0394354e7feb1cd9476eb44eb2279a645de370 (patch) | |
tree | 2910157fe283c2784f5897491920e6f15c259217 | |
parent | 342558545256c1803aa4bf51657e51a54a19092c (diff) | |
parent | 01ad24db55f8c9735a2e1594ed8ebe25fbb4d1c2 (diff) | |
download | nixpkgs-1e0394354e7feb1cd9476eb44eb2279a645de370.tar nixpkgs-1e0394354e7feb1cd9476eb44eb2279a645de370.tar.gz nixpkgs-1e0394354e7feb1cd9476eb44eb2279a645de370.tar.bz2 nixpkgs-1e0394354e7feb1cd9476eb44eb2279a645de370.tar.lz nixpkgs-1e0394354e7feb1cd9476eb44eb2279a645de370.tar.xz nixpkgs-1e0394354e7feb1cd9476eb44eb2279a645de370.tar.zst nixpkgs-1e0394354e7feb1cd9476eb44eb2279a645de370.zip |
Merge pull request #152596 from veehaitch/github-runner-hashFiles
github-runner: install bundled Node.js scripts
-rw-r--r-- | pkgs/development/tools/continuous-integration/github-runner/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/tools/continuous-integration/github-runner/default.nix b/pkgs/development/tools/continuous-integration/github-runner/default.nix index 17a0cff31fe..e784e3fe330 100644 --- a/pkgs/development/tools/continuous-integration/github-runner/default.nix +++ b/pkgs/development/tools/continuous-integration/github-runner/default.nix @@ -242,6 +242,11 @@ stdenv.mkDerivation rec { ln -s ${nodejs-12_x} $out/externals/node12 ln -s ${nodejs-16_x} $out/externals/node16 + # Install Nodejs scripts called from workflows + install -D src/Misc/layoutbin/hashFiles/index.js $out/lib/hashFiles/index.js + mkdir -p $out/lib/checkScripts + install src/Misc/layoutbin/checkScripts/* $out/lib/checkScripts/ + runHook postInstall ''; |