chaoszone.cz/shell.nix

18 lines
423 B
Nix
Raw Normal View History

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