@@ -23,6 +23,7 @@ def test_create_flake(
|
||||
|
||||
cli.run(["flakes", "create", str(flake_dir), "--template=default", "--no-update"])
|
||||
|
||||
assert (flake_dir / ".clan-flake").exists()
|
||||
# Replace the inputs.clan-core.url in the template flake.nix
|
||||
substitute(
|
||||
flake_dir / "flake.nix",
|
||||
@@ -60,6 +61,7 @@ def test_create_flake_existing_git(
|
||||
|
||||
cli.run(["flakes", "create", str(flake_dir), "--template=default", "--no-update"])
|
||||
|
||||
assert (flake_dir / ".clan-flake").exists()
|
||||
# Replace the inputs.clan-core.url in the template flake.nix
|
||||
substitute(
|
||||
flake_dir / "flake.nix",
|
||||
|
||||
0
templates/clan/classic/.clan-flake
Normal file
0
templates/clan/classic/.clan-flake
Normal file
0
templates/clan/default/.clan-flake
Normal file
0
templates/clan/default/.clan-flake
Normal file
0
templates/clan/minimal/.clan-flake
Normal file
0
templates/clan/minimal/.clan-flake
Normal file
Reference in New Issue
Block a user