nani.wtf/shell.nix

15 lines
266 B
Nix
Raw Normal View History

2020-09-22 04:03:52 +02:00
let
sources = import ./nix/sources.nix;
in
{ pkgs ? import sources.nixpkgs {} }:
let
cfg = import ./nix/default.nix {};
in
pkgs.mkShell {
buildInputs = cfg.tools;
shellHook = ''
${cfg.ci.pre-commit-check.shellHook}
'';
}