From 14114c563acab4cee2828aa8dad9036d617e1ea2 Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Mon, 29 Jan 2024 22:41:55 +0000 Subject: [PATCH] templates: make flake-parts input explicit --- template/default/flake.nix | 1 + template/multi-module/flake.nix | 1 + template/package/flake.nix | 1 + template/unfree/flake.nix | 5 ++++- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/template/default/flake.nix b/template/default/flake.nix index 929e34f..277e25f 100644 --- a/template/default/flake.nix +++ b/template/default/flake.nix @@ -2,6 +2,7 @@ description = "Description for the project"; inputs = { + flake-parts.url = "github:hercules-ci/flake-parts"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; }; diff --git a/template/multi-module/flake.nix b/template/multi-module/flake.nix index 82cd3bd..2c5d668 100644 --- a/template/multi-module/flake.nix +++ b/template/multi-module/flake.nix @@ -2,6 +2,7 @@ description = "Description for the project"; inputs = { + flake-parts.url = "github:hercules-ci/flake-parts"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; }; diff --git a/template/package/flake.nix b/template/package/flake.nix index 385e6cb..6cd781e 100644 --- a/template/package/flake.nix +++ b/template/package/flake.nix @@ -2,6 +2,7 @@ description = "Description for the project"; inputs = { + flake-parts.url = "github:hercules-ci/flake-parts"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; }; diff --git a/template/unfree/flake.nix b/template/unfree/flake.nix index 7ec00c3..33eaaf2 100644 --- a/template/unfree/flake.nix +++ b/template/unfree/flake.nix @@ -1,7 +1,10 @@ { description = "Description for the project"; - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + inputs = { + flake-parts.url = "github:hercules-ci/flake-parts"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + }; outputs = inputs@{ flake-parts, nixpkgs, ... }: flake-parts.lib.mkFlake { inherit inputs; } {