templates/minimal: consistent input names

This commit is contained in:
Johannes Kirschbauer
2025-06-27 10:22:07 +02:00
parent a263643cd7
commit 8ab9556a12
2 changed files with 7 additions and 8 deletions

View File

@@ -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,

View File

@@ -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 = {