mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
github-runner: align internal Node version with nodeRuntimes
This commit is contained in:
parent
05bd5e12bd
commit
2b44899a34
@ -81,6 +81,14 @@ buildDotnetModule rec {
|
||||
url = "https://github.com/actions/runner/commit/5ff0ce1.patch";
|
||||
hash = "sha256-2Vg3cKZK3cE/OcPDZkdN2Ro2WgvduYTTwvNGxwCfXas=";
|
||||
})
|
||||
] ++ lib.optionals (nodeRuntimes == [ "node20" ]) [
|
||||
# If the package is built without Node 16, make Node 20 the default internal version
|
||||
# https://github.com/actions/runner/pull/2844
|
||||
(fetchpatch {
|
||||
name = "internal-node-20.patch";
|
||||
url = "https://github.com/actions/runner/commit/acdc6ed.patch";
|
||||
hash = "sha256-3/6yhhJPr9OMWBFc5/NU/DRtn76aTYvjsjQo2u9ZqnU=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user