on master help sign in
Merge pull request #46 from bitonic/nix-ghcjs
c3b5d55Hamish Mackenzie
jsaddle/default.nix+10−6
@@ -2,18 +2,22 @@
2, bytestring, containers, deepseq, filepath, ghc-prim, http-types
2, bytestring, containers, deepseq, filepath, ghc-prim, http-types
3, lens, primitive, process, random, ref-tf, scientific, stdenv, stm
3, lens, primitive, process, random, ref-tf, scientific, stdenv, stm
4, text, time, transformers, unordered-containers, unliftio-core
4, text, time, transformers, unordered-containers, unliftio-core
5−, vector
5+, vector, exceptions, ghcjs-base, ghcjs-prim, ghc
6}:
6}:
7mkDerivation {
7mkDerivation {
8 pname = "jsaddle";
8 pname = "jsaddle";
9 version = "0.9.4.0";
9 version = "0.9.4.0";
10 src = builtins.filterSource (path: type: !(builtins.elem (baseNameOf path) [ ".git" "dist" ])) ./.;
10 src = builtins.filterSource (path: type: !(builtins.elem (baseNameOf path) [ ".git" "dist" ])) ./.;
11 libraryHaskellDepends = [
11 libraryHaskellDepends = [
12− aeson attoparsec base base64-bytestring bytestring containers
12+ aeson base base64-bytestring bytestring exceptions lens primitive
13+ text transformers
14+ ] ++ (if ghc.isGhcjs or false then [
15+ ghcjs-base ghcjs-prim
16+ ] else [
13− deepseq filepath ghc-prim http-types lens primitive process random
17+ attoparsec containers deepseq filepath ghc-prim http-types process
14− ref-tf scientific stm text time transformers unordered-containers
18+ random ref-tf scientific stm time unordered-containers vector
15− unliftio-core vector
19+ unliftio-core
16− ];
20+ ]);
17 description = "Interface for JavaScript that works with GHCJS and GHC";
21 description = "Interface for JavaScript that works with GHCJS and GHC";
18 license = stdenv.lib.licenses.mit;
22 license = stdenv.lib.licenses.mit;
19}
23}