1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2024-12-14 11:47:31 +00:00

templates: make flake-parts input explicit

This commit is contained in:
matthewcroughan 2024-01-29 22:41:55 +00:00
parent bffc4be17f
commit 14114c563a
4 changed files with 7 additions and 1 deletions

View file

@ -2,6 +2,7 @@
description = "Description for the project"; description = "Description for the project";
inputs = { inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
}; };

View file

@ -2,6 +2,7 @@
description = "Description for the project"; description = "Description for the project";
inputs = { inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
}; };

View file

@ -2,6 +2,7 @@
description = "Description for the project"; description = "Description for the project";
inputs = { inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
}; };

View file

@ -1,7 +1,10 @@
{ {
description = "Description for the project"; 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, ... }: outputs = inputs@{ flake-parts, nixpkgs, ... }:
flake-parts.lib.mkFlake { inherit inputs; } { flake-parts.lib.mkFlake { inherit inputs; } {