Define pkgs in shell.nix

This commit is contained in:
Dave Gallant
2024-03-31 15:23:44 -04:00
parent 6acc7e5a3a
commit f05e35db78

View File

@@ -1,4 +1,9 @@
(import <nixpkgs> { }).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}
'';