mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
Define pkgs in shell.nix
This commit is contained in:
@@ -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}
|
||||
'';
|
||||
|
Reference in New Issue
Block a user