From d8d7c45f91e0d5ddc16f8d8c592b5d5743e71e53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 9 Feb 2023 11:39:55 +0100 Subject: [PATCH] drop duplicate nixpkgs instance --- flake.lock | 20 +++----------------- flake.nix | 1 + 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/flake.lock b/flake.lock index eed6944..fdc949c 100644 --- a/flake.lock +++ b/flake.lock @@ -36,22 +36,6 @@ "type": "github" } }, - "nixpkgs_2": { - "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" - } - }, "root": { "inputs": { "flake-parts": "flake-parts", @@ -61,7 +45,9 @@ }, "treefmt-nix": { "inputs": { - "nixpkgs": "nixpkgs_2" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1675790908, diff --git a/flake.nix b/flake.nix index c6e6473..f4b5a46 100644 --- a/flake.nix +++ b/flake.nix @@ -7,6 +7,7 @@ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small"; treefmt-nix.url = "github:numtide/treefmt-nix"; + treefmt-nix.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = inputs @ { flake-parts, ... }: