port docs #31
16
flake.lock
16
flake.lock
@ -54,21 +54,6 @@
|
||||
"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": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
@ -180,7 +165,6 @@
|
||||
"devshell": "devshell",
|
||||
"flake-compat": "flake-compat",
|
||||
"flake-parts": "flake-parts",
|
||||
"flake-root": "flake-root",
|
||||
"gomod2nix": "gomod2nix",
|
||||
"nix-filter": "nix-filter",
|
||||
"nixpkgs": "nixpkgs",
|
||||
|
@ -4,7 +4,6 @@
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
flake-root.url = "github:srid/flake-root";
|
||||
treefmt-nix = {
|
||||
# todo switch back to numtide/treefmt-nix once merged
|
||||
url = "github:brianmcgee/treefmt-nix/feat/pipelines";
|
||||
|
@ -1,6 +1,5 @@
|
||||
{inputs, ...}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
inputs.flake-root.flakeModule
|
||||
./checks.nix
|
||||
./devshell.nix
|
||||
./docs.nix
|
||||
|
@ -8,9 +8,9 @@
|
||||
...
|
||||
}: {
|
||||
treefmt.config = {
|
||||
inherit (config.flake-root) projectRootFile;
|
||||
flakeCheck = true;
|
||||
flakeFormatter = true;
|
||||
projectRootFile = "flake.nix";
|
||||
|
||||
package = self'.packages.default;
|
||||
|
||||
|
Reference in New Issue
Block a user