souplesse/default.nix
Daniel Barlow ad919999bc cabal init and some Haskell nixy stuff
nix-shell -p "haskellPackages.ghcWithPackages (pkgs: with pkgs; [  cabal-install ])" --run "cabal init"
2024-10-27 20:19:38 +00:00

16 lines
386 B
Nix

let
pkgs = import <nixpkgs> { };
haskellEnv = pkgs.haskellPackages.developPackage {
root = ./.;
};
in haskellEnv.overrideAttrs(o: {
buildInputs = o.buildInputs ++
(with pkgs.elmPackages; [
elm
elm-format
elm-optimize-level-2
elm-review
elm-test
]);
})