make proper dev-shell including vim

This commit is contained in:
nek0 2023-12-10 15:12:11 +01:00
parent 432f3c8d0b
commit 0286301fc2
2 changed files with 12 additions and 2 deletions

View file

@ -27,7 +27,8 @@
devShell = haskellPackages.shellFor {
packages = p: [ defaultPackage ];
withHoogle = true;
buildInputs = with haskellPackages; [
buildInputs = with haskellPackages; with pkgs; [
vim
haskell-language-server
ghcid
cabal-install

View file

@ -5,4 +5,13 @@ let
pkgs.haskellPackages.callCabal2nix "chaoszone" (gitignore ./.) {};
gitignore = dir: pkgs.nix-gitignore.gitignoreSource [] dir;
in
chaoszone_cz.env
pkgs.haskellPackages.shellFor {
packages = p: [ chaoszone_cz ];
withHoogle = true;
buildInputs = with pkgs.haskellPackages; with pkgs; [
haskell-language-server
ghcid
cabal-install
vim
];
}