souplesse/default.nix

23 lines
554 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; [
elm
elm-format
elm-optimize-level-2
elm-review
elm-test
]);
})