From 8f290c08b71a8887631a119de174d4f94047ee59 Mon Sep 17 00:00:00 2001 From: Brian McGee Date: Mon, 31 Mar 2025 10:40:47 +0100 Subject: [PATCH] fix(docs): correct flake sample in migration guide diff --git a/docs/site/manual/migration-guide.md b/docs/site/manual/migration-guide.md index 551a3ef0..38be9a0e 100644 --- a/docs/site/manual/migration-guide.md +++ b/docs/site/manual/migration-guide.md @@ -77,13 +77,18 @@ For the provide flake example, your flake should now look like this: ```nix { inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + + inputs.clan-core = { + url = "git+https://git.clan.lol/clan/clan-core"; + inputs.nixpkgs.follows = "nixpkgs"; + }; - outputs = { self, nixpkgs, ... }: + outputs = { self, nixpkgs, clan-core, ... }: let clan = clan-core.lib.buildClan { self = self; # this needs to point at the repository root specialArgs = {}; - inventory.meta.name = "NEEDS_TO_BE_UNIQUE"; # TODO: Changeme + meta.name = throw "Change me to something unique"; machines = { berlin = { --- docs/site/manual/migration-guide.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/site/manual/migration-guide.md b/docs/site/manual/migration-guide.md index 551a3ef0e..38be9a0e2 100644 --- a/docs/site/manual/migration-guide.md +++ b/docs/site/manual/migration-guide.md @@ -77,13 +77,18 @@ For the provide flake example, your flake should now look like this: ```nix { inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + + inputs.clan-core = { + url = "git+https://git.clan.lol/clan/clan-core"; + inputs.nixpkgs.follows = "nixpkgs"; + }; - outputs = { self, nixpkgs, ... }: + outputs = { self, nixpkgs, clan-core, ... }: let clan = clan-core.lib.buildClan { self = self; # this needs to point at the repository root specialArgs = {}; - inventory.meta.name = "NEEDS_TO_BE_UNIQUE"; # TODO: Changeme + meta.name = throw "Change me to something unique"; machines = { berlin = {