diff --git a/pkgs/clan-cli/clan_cli/tests/test_create_flake.py b/pkgs/clan-cli/clan_cli/tests/test_create_flake.py index af46752cd..b9790ab16 100644 --- a/pkgs/clan-cli/clan_cli/tests/test_create_flake.py +++ b/pkgs/clan-cli/clan_cli/tests/test_create_flake.py @@ -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", diff --git a/templates/clan/classic/.clan-flake b/templates/clan/classic/.clan-flake new file mode 100644 index 000000000..e69de29bb diff --git a/templates/clan/default/.clan-flake b/templates/clan/default/.clan-flake new file mode 100644 index 000000000..e69de29bb diff --git a/templates/clan/minimal/.clan-flake b/templates/clan/minimal/.clan-flake new file mode 100644 index 000000000..e69de29bb