Skip to content

Commit

Permalink
Merge pull request #91 from Mic92/ci
Browse files Browse the repository at this point in the history
Ci
  • Loading branch information
Mic92 authored May 19, 2022
2 parents c381bd2 + 501befb commit d667bb7
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions nix_update/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def validate_git_dir(import_path: str) -> str:


def nix_run(options: Options) -> None:
cmd = ["nix", "shell", "--experimental-features", "nix-command"]
cmd = ["nix", "shell", "--extra-experimental-features", "nix-command"]
run(
cmd + ["-f", options.import_path, options.attribute],
stdout=None,
Expand All @@ -165,7 +165,7 @@ def nix_build(options: Options) -> None:
cmd = [
"nix",
"build",
"--experimental-features",
"--extra-experimental-features",
"nix-command",
"-f",
options.import_path,
Expand Down
2 changes: 1 addition & 1 deletion nix_update/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def eval_attr(opts: Options) -> Package:
"eval",
"--json",
"--impure",
"--experimental-features",
"--extra-experimental-features",
"nix-command",
"--expr",
expr,
Expand Down
2 changes: 1 addition & 1 deletion nix_update/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def to_sri(hashstr: str) -> str:

cmd = [
"nix",
"--experimental-features",
"--extra-experimental-features",
"nix-command",
"hash",
"to-sri",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_update(helpers: conftest.Helpers) -> None:
"nix",
"eval",
"--raw",
"--experimental-features",
"--extra-experimental-features",
"nix-command",
"-f",
path,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_savanna.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_update(helpers: conftest.Helpers) -> None:
"nix",
"eval",
"--raw",
"--experimental-features",
"--extra-experimental-features",
"nix-command",
"-f",
path,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sourcehut.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_update(helpers: conftest.Helpers) -> None:
"nix",
"eval",
"--raw",
"--experimental-features",
"--extra-experimental-features",
"nix-command",
"-f",
path,
Expand Down

0 comments on commit d667bb7

Please sign in to comment.