make proper dev-shell including vim
This commit is contained in:
parent
432f3c8d0b
commit
0286301fc2
2 changed files with 12 additions and 2 deletions
|
@ -27,7 +27,8 @@
|
||||||
devShell = haskellPackages.shellFor {
|
devShell = haskellPackages.shellFor {
|
||||||
packages = p: [ defaultPackage ];
|
packages = p: [ defaultPackage ];
|
||||||
withHoogle = true;
|
withHoogle = true;
|
||||||
buildInputs = with haskellPackages; [
|
buildInputs = with haskellPackages; with pkgs; [
|
||||||
|
vim
|
||||||
haskell-language-server
|
haskell-language-server
|
||||||
ghcid
|
ghcid
|
||||||
cabal-install
|
cabal-install
|
||||||
|
|
11
shell.nix
11
shell.nix
|
@ -5,4 +5,13 @@ let
|
||||||
pkgs.haskellPackages.callCabal2nix "chaoszone" (gitignore ./.) {};
|
pkgs.haskellPackages.callCabal2nix "chaoszone" (gitignore ./.) {};
|
||||||
gitignore = dir: pkgs.nix-gitignore.gitignoreSource [] dir;
|
gitignore = dir: pkgs.nix-gitignore.gitignoreSource [] dir;
|
||||||
in
|
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
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue