chaoszone.cz/shell.nix

18 lines
423 B
Nix
Raw Normal View History

2022-01-17 11:12:25 +00:00
{ pkgs ? import <nixpkgs> {}}:
2018-10-16 22:40:22 +00:00
let
2022-01-17 11:12:25 +00:00
chaoszone_cz =
2023-11-25 04:28:53 +00:00
pkgs.haskellPackages.callCabal2nix "chaoszone" (gitignore ./.) {};
2022-01-17 11:12:25 +00:00
gitignore = dir: pkgs.nix-gitignore.gitignoreSource [] dir;
2018-10-16 22:40:22 +00:00
in
2023-12-10 14:12:11 +00:00
pkgs.haskellPackages.shellFor {
packages = p: [ chaoszone_cz ];
withHoogle = true;
buildInputs = with pkgs.haskellPackages; with pkgs; [
haskell-language-server
ghcid
cabal-install
vim
];
}