nix-shell -p "haskellPackages.ghcWithPackages (pkgs: with pkgs; [ cabal-install ])" --run "cabal init"
16 lines
386 B
Nix
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
|
|
]);
|
|
})
|