noredink-ui/shell.nix

26 lines
505 B
Nix
Raw Normal View History

2019-10-28 17:43:14 +03:00
let
sources = import ./nix/sources.nix;
nixpkgs = import sources.nixpkgs { };
niv = import sources.niv { };
in with nixpkgs;
2018-12-19 01:43:08 +03:00
stdenv.mkDerivation {
name = "noredink-ui";
buildInputs = [
# base dependencies
git
gnumake
2019-10-28 17:43:14 +03:00
niv.niv
jq
2020-10-28 01:29:44 +03:00
haskellPackages.ormolu
(haskellPackages.ghcWithPackages (ps: [ ps.shake ]))
2018-12-19 01:43:08 +03:00
# node dependencies
2019-02-12 22:10:15 +03:00
nodejs
2018-12-19 01:43:08 +03:00
nodePackages.npm
2019-04-01 17:26:15 +03:00
# preview dependencies
2019-04-02 23:07:26 +03:00
entr
2019-04-01 17:26:15 +03:00
python3
2020-10-29 00:31:24 +03:00
] ++ lib.optionals stdenv.isLinux [ pkgs.fsatrace ];
2018-12-19 01:43:08 +03:00
}