mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
commit
f03b167b55
1 changed files with 2 additions and 2 deletions
|
|
@ -75,10 +75,10 @@ def test_use_flake(direnv_project: DirenvProject) -> None:
|
||||||
common_test(direnv_project)
|
common_test(direnv_project)
|
||||||
inputs = list((direnv_project.dir / ".direnv/flake-inputs").iterdir())
|
inputs = list((direnv_project.dir / ".direnv/flake-inputs").iterdir())
|
||||||
# should only contain our flake-utils flake
|
# should only contain our flake-utils flake
|
||||||
if len(inputs) != 3:
|
if len(inputs) != 4:
|
||||||
run(["nix", "flake", "archive", "--json"], cwd=direnv_project.dir)
|
run(["nix", "flake", "archive", "--json"], cwd=direnv_project.dir)
|
||||||
print(inputs)
|
print(inputs)
|
||||||
assert len(inputs) == 3
|
assert len(inputs) == 4
|
||||||
for symlink in inputs:
|
for symlink in inputs:
|
||||||
assert symlink.is_dir()
|
assert symlink.is_dir()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue