From 093ae2ab4c6164bda24e347adfe7cebc7e5d5cf6 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 6 Mar 2022 09:22:04 +0100 Subject: [PATCH] flake: Make pre-commit-hooks use nixpkgs-unstable It depends on alejandra, which is only in nixpkgs unstable at the time. --- flake.lock | 2 +- flake.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index 2a66795..fa8136c 100644 --- a/flake.lock +++ b/flake.lock @@ -149,7 +149,7 @@ "flake-utils" ], "nixpkgs": [ - "nixpkgs" + "nixpkgs-unstable" ] }, "locked": { diff --git a/flake.nix b/flake.nix index fec2558..ad5013a 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ nix-pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix/master"; nix-pre-commit-hooks.inputs.flake-utils.follows = "flake-utils"; - nix-pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs"; + nix-pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs-unstable"; sops-nix.url = "github:Mic92/sops-nix"; sops-nix.inputs.nixpkgs.follows = "nixpkgs";