souplesse/default.nix
2024-11-21 21:40:31 +00:00

25 lines
612 B
Nix

let
pkgs = import <nixpkgs> { };
haskellEnv = pkgs.haskellPackages.developPackage {
root = ./.;
modifier = drv:
pkgs.haskell.lib.addBuildTools drv (with pkgs.haskellPackages;
[
cabal-install
hlint
ormolu
]);
};
in haskellEnv.overrideAttrs(o: {
buildInputs = o.buildInputs ++
(with pkgs.elmPackages; [
pkgs.entr
elm
elm-format
elm-optimize-level-2
elm-review
elm-analyse
elm-test
]);
})