chaoszone.cz/shell.nix
2023-12-16 06:30:30 +01:00

20 lines
497 B
Nix

{ pkgs ? import <nixpkgs> {}, chaoszone ? null}:
let
chaoszone_cz = if isNull chaoszone
then
(import ./default.nix {inherit pkgs; packageName = "chaoszone";})
else
chaoszone;
gitignore = dir: pkgs.nix-gitignore.gitignoreSource [] dir;
in
pkgs.haskellPackages.shellFor {
packages = p: [ chaoszone_cz ];
withHoogle = true;
buildInputs = with pkgs.haskellPackages; with pkgs; [
haskell-language-server
ghcid
cabal-install
vim
];
}