From ad9357bd9e5ad67f41f14a9efd0ef7a52c6863f5 Mon Sep 17 00:00:00 2001 From: Michael Dyer <59163924+MichaelOwenDyer@users.noreply.github.com> Date: Fri, 31 Jan 2025 10:51:23 -0600 Subject: [PATCH] Reuse systems input for flake-utils (#25) * Reuse systems input for flake-utils This change should make `flake-utils` use the same `systems` input as root. This prevents a duplicate input `systems_2` from appearing in `flake.lock`. * Run nix flake update flake-utils --- flake.lock | 21 ++++----------------- flake.nix | 1 + 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/flake.lock b/flake.lock index 5b02cd4..e74daa7 100644 --- a/flake.lock +++ b/flake.lock @@ -2,7 +2,9 @@ "nodes": { "flake-utils": { "inputs": { - "systems": "systems" + "systems": [ + "systems" + ] }, "locked": { "lastModified": 1731533236, @@ -38,7 +40,7 @@ "inputs": { "flake-utils": "flake-utils", "nixpkgs": "nixpkgs", - "systems": "systems_2" + "systems": "systems" } }, "systems": { @@ -55,21 +57,6 @@ "repo": "default", "type": "github" } - }, - "systems_2": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index fcbcfe6..55be776 100644 --- a/flake.nix +++ b/flake.nix @@ -2,6 +2,7 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; flake-utils.url = "github:numtide/flake-utils"; + flake-utils.inputs.systems.follows = "systems"; systems.url = "github:nix-systems/default"; };