From 075dcc8b2138f7184e247e2460b90ddf08531bea Mon Sep 17 00:00:00 2001 From: Jaki Schöffel Date: Sat, 5 Sep 2026 16:46:27 +0200 Subject: flake: cleanup inputs --- flake.lock | 65 +++----------------------------------------------------------- flake.nix | 5 +---- 2 files changed, 4 insertions(+), 66 deletions(-) diff --git a/flake.lock b/flake.lock index 12980f2..4a6ddcf 100644 --- a/flake.lock +++ b/flake.lock @@ -180,22 +180,6 @@ "type": "github" } }, - "flake-compat_2": { - "flake": false, - "locked": { - "lastModified": 1767039857, - "narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=", - "owner": "NixOS", - "repo": "flake-compat", - "rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab", - "type": "github" - }, - "original": { - "owner": "NixOS", - "repo": "flake-compat", - "type": "github" - } - }, "flake-parts": { "inputs": { "nixpkgs-lib": [ @@ -316,28 +300,6 @@ "type": "github" } }, - "gitignore_2": { - "inputs": { - "nixpkgs": [ - "lanzaboote", - "pre-commit", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1709087332, - "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", - "owner": "hercules-ci", - "repo": "gitignore.nix", - "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "gitignore.nix", - "type": "github" - } - }, "gnome-shell": { "flake": false, "locked": { @@ -425,7 +387,9 @@ "nixpkgs": [ "nixpkgs" ], - "pre-commit": "pre-commit", + "pre-commit": [ + "git-hooks" + ], "rust-overlay": [ "rust-overlay" ] @@ -632,29 +596,6 @@ "type": "github" } }, - "pre-commit": { - "inputs": { - "flake-compat": "flake-compat_2", - "gitignore": "gitignore_2", - "nixpkgs": [ - "lanzaboote", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1781733627, - "narHash": "sha256-U3yTuGBnmXvXoQI3qkpfEDsn9RovQPAjN7ndRco+3u0=", - "owner": "cachix", - "repo": "pre-commit-hooks.nix", - "rev": "3bbec39bc90eadfa031e6f3b77272f3f60803e39", - "type": "github" - }, - "original": { - "owner": "cachix", - "repo": "pre-commit-hooks.nix", - "type": "github" - } - }, "prismlauncher": { "inputs": { "libnbtplusplus": [ diff --git a/flake.nix b/flake.nix index 3aeb486..be0d62b 100644 --- a/flake.nix +++ b/flake.nix @@ -28,7 +28,6 @@ url = "github:cachix/git-hooks.nix"; inputs = { flake-compat.follows = "flake-compat"; - gitignore.follows = "gitignore"; nixpkgs.follows = "nixpkgs"; }; }; @@ -73,9 +72,7 @@ inputs = { crane.follows = "crane"; nixpkgs.follows = "nixpkgs"; - flake-compat.follows = "flake-compat"; - flake-parts.follows = "flake-parts"; - pre-commit-hooks-nix.follows = "git-hooks"; + pre-commit.follows = "git-hooks"; rust-overlay.follows = "rust-overlay"; }; }; -- cgit v1.3.1