souplesse/default.nix

23 lines
554 B
Nix
Raw Normal View History

let
pkgs = import <nixpkgs> { };
haskellEnv = pkgs.haskellPackages.developPackage {
root = ./.;
2024-10-27 20:19:58 +00:00
modifier = drv:
pkgs.haskell.lib.addBuildTools drv (with pkgs.haskellPackages;
[
cabal-install
2024-10-30 14:25:54 +00:00
hlint
2024-10-30 21:03:11 +00:00
ormolu
2024-10-27 20:19:58 +00:00
]);
};
in haskellEnv.overrideAttrs(o: {
buildInputs = o.buildInputs ++
(with pkgs.elmPackages; [
elm
elm-format
elm-optimize-level-2
elm-review
elm-test
]);
})