File tree 2 files changed +4
-9
lines changed
2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -36,17 +36,14 @@ process.env.CONTAINERBASE = 'true';
36
36
const config : UpdateArtifactsConfig = { } ;
37
37
const lockMaintenanceConfig = { ...config , isLockFileMaintenance : true } ;
38
38
const updateInputCmd = `nix \
39
- --extra-experimental-features nix-command \
40
- --extra-experimental-features flakes \
39
+ --extra-experimental-features 'nix-command flakes' \
41
40
flake lock --update-input nixpkgs` ;
42
41
const updateInputTokenCmd = `nix \
43
- --extra-experimental-features nix-command \
44
- --extra-experimental-features flakes \
42
+ --extra-experimental-features 'nix-command flakes' \
45
43
--extra-access-tokens github.com=token \
46
44
flake lock --update-input nixpkgs` ;
47
45
const lockfileMaintenanceCmd = `nix \
48
- --extra-experimental-features nix-command \
49
- --extra-experimental-features flakes \
46
+ --extra-experimental-features 'nix-command flakes' \
50
47
flake update` ;
51
48
52
49
describe ( 'modules/manager/nix/artifacts' , ( ) => {
Original file line number Diff line number Diff line change @@ -22,9 +22,7 @@ export async function updateArtifacts({
22
22
return null ;
23
23
}
24
24
25
- let cmd = `nix \
26
- --extra-experimental-features nix-command \
27
- --extra-experimental-features flakes ` ;
25
+ let cmd = `nix --extra-experimental-features 'nix-command flakes' ` ;
28
26
29
27
const token = findGithubToken (
30
28
hostRules . find ( {
You can’t perform that action at this time.
0 commit comments