Merge pull request #152596 from veehaitch/github-runner-hashFiles

github-runner: install bundled Node.js scripts
This commit is contained in:
Bobby Rong 2021-12-31 12:11:14 +08:00 committed by GitHub
commit 1e0394354e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
'';