chaoszone.cz/shell.nix

21 lines
497 B
Nix
Raw Normal View History

2023-12-16 05:30:30 +00:00
{ pkgs ? import <nixpkgs> {}, chaoszone ? null}:
2022-01-17 11:12:25 +00:00
2018-10-16 22:40:22 +00:00
let
2023-12-16 05:30:30 +00:00
chaoszone_cz = if isNull chaoszone
then
(import ./default.nix {inherit pkgs; packageName = "chaoszone";})
else
chaoszone;
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
];
}