add missing module to devshell
This commit is contained in:
parent
845b7e0a58
commit
2fd3cbdd6d
2 changed files with 6 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, extraModules, ... }:
|
||||||
(pkgs.devshell.mkShell {
|
(pkgs.devshell.mkShell {
|
||||||
|
imports = extraModules;
|
||||||
|
|
||||||
name = "dadada/nix-config";
|
name = "dadada/nix-config";
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
@ -49,6 +51,6 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
git.hooks = {
|
git.hooks = {
|
||||||
pre-push = "nix flake check";
|
pre-push.text = "nix flake check";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
|
@ -31,8 +31,9 @@
|
||||||
devshell.overlay
|
devshell.overlay
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
extraModules = [ "${devshell}/extra/git.nix" ];
|
||||||
in
|
in
|
||||||
import ./devshell.nix { inherit pkgs; };
|
import ./devshell.nix { inherit pkgs extraModules; };
|
||||||
|
|
||||||
formatter = nixpkgs.legacyPackages."${system}".nixpkgs-fmt;
|
formatter = nixpkgs.legacyPackages."${system}".nixpkgs-fmt;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue