From 2154fdbb8331a59c90564e0049d454b6187646f7 Mon Sep 17 00:00:00 2001 From: "Peter A." Date: Mon, 7 Oct 2024 08:18:01 +0200 Subject: [PATCH] Added `nix-systems` input and made `flake-utils.inputs.systems` follow it. --- templates/flake/flake.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/flake/flake.nix b/templates/flake/flake.nix index f7b7e5f..9c50527 100644 --- a/templates/flake/flake.nix +++ b/templates/flake/flake.nix @@ -1,7 +1,11 @@ { description = "A basic flake with a shell"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; - inputs.flake-utils.url = "github:numtide/flake-utils"; + inputs.systems.url = "github.com:nix-systems/default"; + inputs.flake-utils = { + url = "github:numtide/flake-utils"; + inputs.systems.follows = "systems"; + }; outputs = { nixpkgs, flake-utils, ... }: