From fb8df7f0541f09dbbf85cebd9eb14b521994445f Mon Sep 17 00:00:00 2001
From: zowoq <59103226+zowoq@users.noreply.github.com>
Date: Mon, 6 Feb 2023 14:42:30 +1000
Subject: [PATCH] flake: `treefmt-nix` follow nixpkgs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Flake lock file updates:

• Updated input 'treefmt-nix/nixpkgs':
    'github:nixos/nixpkgs/0591d6b57bfeb55dfeec99a671843337bc2c3323' (2023-02-04)
  → follows 'nixpkgs'
---
 flake.lock | 20 +++-----------------
 flake.nix  |  1 +
 2 files changed, 4 insertions(+), 17 deletions(-)

diff --git a/flake.lock b/flake.lock
index 7035aa1..3187233 100644
--- a/flake.lock
+++ b/flake.lock
@@ -137,22 +137,6 @@
         "type": "indirect"
       }
     },
-    "nixpkgs_3": {
-      "locked": {
-        "lastModified": 1675545634,
-        "narHash": "sha256-TbQeQcM5TA/wIho6xtzG+inUfiGzUXi8ewwttiQWYJE=",
-        "owner": "nixos",
-        "repo": "nixpkgs",
-        "rev": "0591d6b57bfeb55dfeec99a671843337bc2c3323",
-        "type": "github"
-      },
-      "original": {
-        "owner": "nixos",
-        "ref": "nixos-unstable",
-        "repo": "nixpkgs",
-        "type": "github"
-      }
-    },
     "nur-update": {
       "inputs": {
         "nixpkgs": [
@@ -230,7 +214,9 @@
     },
     "treefmt-nix": {
       "inputs": {
-        "nixpkgs": "nixpkgs_3"
+        "nixpkgs": [
+          "nixpkgs"
+        ]
       },
       "locked": {
         "lastModified": 1675588998,
diff --git a/flake.nix b/flake.nix
index c21ba00..08f2fdc 100644
--- a/flake.nix
+++ b/flake.nix
@@ -34,6 +34,7 @@
     disko.inputs.nixpkgs.follows = "nixpkgs";
 
     treefmt-nix.url = "github:numtide/treefmt-nix";
+    treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
   };
 
   outputs = inputs @ { flake-parts, ... }: