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:
zimbatm 2021-01-25 10:39:33 +01:00
commit 9831d0f47e
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
4 changed files with 22 additions and 3 deletions

View file

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