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 eb8aaa45c..434574e3a 100644 --- a/pkgs/clan-cli/clan_cli/tests/test_create_flake.py +++ b/pkgs/clan-cli/clan_cli/tests/test_create_flake.py @@ -24,7 +24,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.url in the template flake.nix + # Replace the inputs.clan-core.url in the template flake.nix substitute( flake_dir / "flake.nix", clan_core, @@ -69,7 +69,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.url in the template flake.nix + # Replace the inputs.clan-core.url in the template flake.nix substitute( flake_dir / "flake.nix", clan_core, @@ -111,7 +111,7 @@ def test_ui_template( cli.run(["flakes", "create", str(flake_dir), "--template=minimal", "--no-update"]) - # Replace the inputs.clan.url in the template flake.nix + # Replace the inputs.clan-core.url in the template flake.nix substitute( flake_dir / "flake.nix", clan_core, diff --git a/templates/clan/minimal/flake.nix b/templates/clan/minimal/flake.nix index a299343fd..1ad231997 100644 --- a/templates/clan/minimal/flake.nix +++ b/templates/clan/minimal/flake.nix @@ -1,11 +1,10 @@ { - inputs = { - clan.url = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz"; - nixpkgs.follows = "clan/nixpkgs"; + clan-core.url = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz"; + nixpkgs.follows = "clan-core/nixpkgs"; flake-parts.url = "github:hercules-ci/flake-parts"; - flake-parts.inputs.nixpkgs-lib.follows = "clan/nixpkgs"; + flake-parts.inputs.nixpkgs-lib.follows = "clan-core/nixpkgs"; }; outputs = @@ -15,7 +14,7 @@ { imports = [ - inputs.clan.flakeModules.default + inputs.clan-core.flakeModules.default ]; clan = {