noredink-ui/shell.nix
2020-10-28 22:40:04 -05:00

33 lines
658 B
Nix

let
sources = import ./nix/sources.nix;
nixpkgs = import sources.nixpkgs { };
niv = import sources.niv { };
in with nixpkgs;
stdenv.mkDerivation {
name = "noredink-ui";
buildInputs = [
# base dependencies
git
gnumake
niv.niv
jq
haskellPackages.ormolu
(haskellPackages.ghcWithPackages (ps: [ ps.shake ]))
less
# node dependencies
nodejs
nodePackages.npm
# elm dependencies
elmPackages.elm
elmPackages.elm-format
elmPackages.elm-test
elmPackages.elm-verify-examples
# preview dependencies
entr
python3
] ++ lib.optionals stdenv.isLinux [ pkgs.fsatrace pkgs.strace ];
}