expose nix executables also for runner user
This commit is contained in:
@ -46,7 +46,7 @@ function run() {
|
||||
// TODO: retry due to all the things that go wrong
|
||||
const nixInstall = yield tc.downloadTool('https://nixos.org/nix/install');
|
||||
yield exec.exec("sh", [nixInstall, "--daemon"]);
|
||||
core.exportVariable('PATH', `${PATH}:/nix/var/nix/profiles/default/bin`);
|
||||
core.exportVariable('PATH', `${PATH}:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/per-user/runner/profile/bin`);
|
||||
core.exportVariable('NIX_PATH', `/nix/var/nix/profiles/per-user/root/channels`);
|
||||
if (os_1.type() == "Darwin") {
|
||||
// macOS needs certificates hints
|
||||
|
Reference in New Issue
Block a user