forked from reflex-frp/reflex-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackages.nix
More file actions
23 lines (18 loc) · 1.1 KB
/
packages.nix
File metadata and controls
23 lines (18 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ haskellPackages, platform }:
with haskellPackages;
[
##############################################################################
# Add general packages here #
##############################################################################
reflex
reflex-dom
reflex-todomvc
] ++ (if platform == "ghcjs" then [
##############################################################################
# Add ghcjs-only packages here #
##############################################################################
] else []) ++ (if platform == "ghc" then [
##############################################################################
# Add ghc-only packages here #
##############################################################################
] else []) ++ builtins.concatLists (map (x: x.override { mkDerivation = drv: (drv.buildDepends or []) ++ (drv.libraryHaskellDepends or []) ++ (drv.executableHaskellDepends or []); }) [ reflex reflex-dom reflex-todomvc ])