scripts/shell.nix

14 lines
229 B
Nix

let
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs { };
in
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
git
nixpkgs-fmt
];
shellHook = ''
${(import ./pre-commit.nix).shellHook}
'';
}