From f05e35db78560eb6e5d2592ae0e0113680572e28 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sun, 31 Mar 2024 15:23:44 -0400 Subject: [PATCH] Define pkgs in shell.nix --- shell.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index 8aa1f75..e646471 100644 --- a/shell.nix +++ b/shell.nix @@ -1,4 +1,9 @@ -(import { }).mkShell { +let + nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11"; + pkgs = import nixpkgs { config = { }; overlays = [ ]; }; +in + +pkgs.mkShell { shellHook = '' ${(import ./default.nix).pre-commit-check.shellHook} '';