Skip to content
Snippets Groups Projects
Unverified Commit 814a93a5 authored by Sandro's avatar Sandro Committed by GitHub
Browse files

fix(nix): simplify --extra-experimental-features argument (#32289)

parent 570a7272
No related branches found
No related tags found
No related merge requests found
......@@ -36,17 +36,14 @@ process.env.CONTAINERBASE = 'true';
const config: UpdateArtifactsConfig = {};
const lockMaintenanceConfig = { ...config, isLockFileMaintenance: true };
const updateInputCmd = `nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--extra-experimental-features 'nix-command flakes' \
flake lock --update-input nixpkgs`;
const updateInputTokenCmd = `nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--extra-experimental-features 'nix-command flakes' \
--extra-access-tokens github.com=token \
flake lock --update-input nixpkgs`;
const lockfileMaintenanceCmd = `nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--extra-experimental-features 'nix-command flakes' \
flake update`;
describe('modules/manager/nix/artifacts', () => {
......
......@@ -22,9 +22,7 @@ export async function updateArtifacts({
return null;
}
let cmd = `nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes `;
let cmd = `nix --extra-experimental-features 'nix-command flakes' `;
const token = findGithubToken(
hostRules.find({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment