mirror of
https://codeberg.org/icewind/attic-action.git
synced 2026-06-03 17:44:07 +02:00
nix: only use stable commands
Avoid the following error when installing nix-unstable:
experimental Nix feature 'nix-command' is disabled; use '--experimental-features nix-command' to override
This commit is contained in:
parent
6e4751ed42
commit
9831d0f47e
4 changed files with 22 additions and 3 deletions
|
|
@ -45,7 +45,7 @@ async function setup() {
|
|||
core.exportVariable('CACHIX_SIGNING_KEY', signingKey);
|
||||
}
|
||||
// Remember existing store paths
|
||||
await exec.exec("sh", ["-c", `nix path-info --all | grep -v '\.drv$' > /tmp/store-path-pre-build`]);
|
||||
await exec.exec("sh", ["-c", `${__dirname}/list-nix-store.sh > /tmp/store-path-pre-build`]);
|
||||
} catch (error) {
|
||||
core.setFailed(`Action failed with error: ${error}`);
|
||||
throw (error);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue