Commit 656678f

HPCesia <me@hpcesia.com>
2026-09-27 10:10:53
deps: fix treefmt-nix's inputs follow
1 parent 0aedd2e
Changed files (3)
modules
flake-parts
modules/flake-parts/treefmt.nix
@@ -1,7 +1,7 @@
 {inputs, ...}: {
   flake-file.inputs.treefmt-nix = {
     url = "github:numtide/treefmt-nix";
-    inputs.nixpkgs-lib.follows = "nixpkgs";
+    inputs.nixpkgs.follows = "nixpkgs";
   };
 
   imports = [inputs.treefmt-nix.flakeModule];
flake.lock
@@ -269,22 +269,6 @@
         "type": "github"
       }
     },
-    "nixpkgs_2": {
-      "locked": {
-        "lastModified": 1770107345,
-        "narHash": "sha256-tbS0Ebx2PiA1FRW8mt8oejR0qMXmziJmPaU1d4kYY9g=",
-        "owner": "nixos",
-        "repo": "nixpkgs",
-        "rev": "4533d9293756b63904b7238acb84ac8fe4c8c2c4",
-        "type": "github"
-      },
-      "original": {
-        "owner": "nixos",
-        "ref": "nixpkgs-unstable",
-        "repo": "nixpkgs",
-        "type": "github"
-      }
-    },
     "nur": {
       "inputs": {
         "flake-parts": [
@@ -420,7 +404,9 @@
     },
     "treefmt-nix": {
       "inputs": {
-        "nixpkgs": "nixpkgs_2"
+        "nixpkgs": [
+          "nixpkgs"
+        ]
       },
       "locked": {
         "lastModified": 1786901030,
flake.nix
@@ -57,7 +57,7 @@
     preservation.url = "github:nix-community/preservation";
     treefmt-nix = {
       url = "github:numtide/treefmt-nix";
-      inputs.nixpkgs-lib.follows = "nixpkgs";
+      inputs.nixpkgs.follows = "nixpkgs";
     };
     vaultix = {
       url = "github:HPCesia/vaultix";