mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
25 lines
549 B
Nix
Executable file
25 lines
549 B
Nix
Executable file
{
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
let
|
|
hp = pkgs.haskellPackages;
|
|
zookeeper = hp.callCabal2nix "zookeeper" ./. { };
|
|
in
|
|
{
|
|
devShells.zookeeper = hp.shellFor {
|
|
nativeBuildInputs = builtins.attrValues {
|
|
inherit (pkgs)
|
|
nil
|
|
stylish-haskell
|
|
;
|
|
inherit (hp)
|
|
cabal-install
|
|
cabal-gild
|
|
haskell-language-server
|
|
;
|
|
};
|
|
packages = _: [ zookeeper ];
|
|
};
|
|
packages = { inherit zookeeper; };
|
|
};
|
|
}
|