add missing module to devshell

This commit is contained in:
Tim Schubert 2022-10-28 22:14:22 +02:00
parent 845b7e0a58
commit 2fd3cbdd6d
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,7 @@
{ pkgs, ... }:
{ pkgs, extraModules, ... }:
(pkgs.devshell.mkShell {
imports = extraModules;
name = "dadada/nix-config";
packages = with pkgs; [
@ -49,6 +51,6 @@
];
git.hooks = {
pre-push = "nix flake check";
pre-push.text = "nix flake check";
};
})

View file

@ -31,8 +31,9 @@
devshell.overlay
];
};
extraModules = [ "${devshell}/extra/git.nix" ];
in
import ./devshell.nix { inherit pkgs; };
import ./devshell.nix { inherit pkgs extraModules; };
formatter = nixpkgs.legacyPackages."${system}".nixpkgs-fmt;