fix: make treefmt's nixpkgs input follow project nixpkgs
2 files changed, 7 insertions(+), 18 deletions(-)
changed files
M flake.lock → flake.lock
@@ -94,22 +94,6 @@ "repo": "nixpkgs", "type": "github" } }, - "nixpkgs_2": { - "locked": { - "lastModified": 1754340878, - "narHash": "sha256-lgmUyVQL9tSnvvIvBp7x1euhkkCho7n3TMzgjdvgPoU=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "cab778239e705082fe97bb4990e0d24c50924c04", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "pre-commit-hooks": { "inputs": { "flake-compat": "flake-compat",@@ -175,7 +159,9 @@ } }, "treefmt-nix": { "inputs": { - "nixpkgs": "nixpkgs_2" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1755934250,
M flake.nix → flake.nix
@@ -15,7 +15,10 @@ nixpkgs.follows = "nixpkgs"; flake-utils.follows = "flake-utils"; }; }; - treefmt-nix.url = "github:numtide/treefmt-nix"; + treefmt-nix = { + url = "github:numtide/treefmt-nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; simple-css = { url = "github:kevquirk/simple.css"; flake = false;