chore: remove flake-root input
No longer needed Signed-off-by: Brian McGee <brian@bmcgee.ie>
This commit is contained in:
parent
aa07c0af2f
commit
166a919fee
16
flake.lock
16
flake.lock
|
@ -54,21 +54,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-root": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1713493429,
|
|
||||||
"narHash": "sha256-ztz8JQkI08tjKnsTpfLqzWoKFQF4JGu2LRz8bkdnYUk=",
|
|
||||||
"owner": "srid",
|
|
||||||
"repo": "flake-root",
|
|
||||||
"rev": "bc748b93b86ee76e2032eecda33440ceb2532fcd",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "srid",
|
|
||||||
"repo": "flake-root",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
|
@ -180,7 +165,6 @@
|
||||||
"devshell": "devshell",
|
"devshell": "devshell",
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"flake-root": "flake-root",
|
|
||||||
"gomod2nix": "gomod2nix",
|
"gomod2nix": "gomod2nix",
|
||||||
"nix-filter": "nix-filter",
|
"nix-filter": "nix-filter",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
flake-root.url = "github:srid/flake-root";
|
|
||||||
treefmt-nix = {
|
treefmt-nix = {
|
||||||
# todo switch back to numtide/treefmt-nix once merged
|
# todo switch back to numtide/treefmt-nix once merged
|
||||||
url = "github:brianmcgee/treefmt-nix/feat/pipelines";
|
url = "github:brianmcgee/treefmt-nix/feat/pipelines";
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{inputs, ...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.flake-root.flakeModule
|
|
||||||
./checks.nix
|
./checks.nix
|
||||||
./devshell.nix
|
./devshell.nix
|
||||||
./docs.nix
|
./docs.nix
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
treefmt.config = {
|
treefmt.config = {
|
||||||
inherit (config.flake-root) projectRootFile;
|
|
||||||
flakeCheck = true;
|
flakeCheck = true;
|
||||||
flakeFormatter = true;
|
flakeFormatter = true;
|
||||||
|
projectRootFile = "flake.nix";
|
||||||
|
|
||||||
package = self'.packages.default;
|
package = self'.packages.default;
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user