From bd001df33787a3196e6532df570fba39bfd8e7bb Mon Sep 17 00:00:00 2001 From: isabel Date: Mon, 29 Jun 2026 16:01:56 +0100 Subject: [PATCH] flake: remove pre-commit from lanzaboote --- flake.lock | 63 +----------------------------------------------------- flake.nix | 6 +++++- 2 files changed, 6 insertions(+), 63 deletions(-) diff --git a/flake.lock b/flake.lock index 70962c53..598be816 100644 --- a/flake.lock +++ b/flake.lock @@ -75,22 +75,6 @@ "type": "github" } }, - "flake-compat": { - "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" - } - }, "gift-wrap": { "inputs": { "nixpkgs": [ @@ -112,28 +96,6 @@ "type": "github" } }, - "gitignore": { - "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" - } - }, "home-manager": { "inputs": { "nixpkgs": [ @@ -220,7 +182,7 @@ "nixpkgs": [ "nixpkgs" ], - "pre-commit": "pre-commit", + "pre-commit": [], "rust-overlay": "rust-overlay" }, "locked": { @@ -250,29 +212,6 @@ "url": "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz" } }, - "pre-commit": { - "inputs": { - "flake-compat": "flake-compat", - "gitignore": "gitignore", - "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" - } - }, "root": { "inputs": { "catppuccin": "catppuccin", diff --git a/flake.nix b/flake.nix index 3ae75c51..8b297ac1 100644 --- a/flake.nix +++ b/flake.nix @@ -47,7 +47,11 @@ type = "github"; owner = "nix-community"; repo = "lanzaboote"; - inputs.nixpkgs.follows = "nixpkgs"; + + inputs = { + nixpkgs.follows = "nixpkgs"; + pre-commit.follows = ""; + }; }; # Secrets, shhh -- 2.51.2