bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
22 lines
600 B
Nix
22 lines
600 B
Nix
{ pkgs, haskellLib }:
|
|
|
|
with haskellLib;
|
|
|
|
# cabal2nix doesn't properly add dependencies conditional on arch(javascript)
|
|
(self: super: {
|
|
ghcjs-base = addBuildDepends (with self; [
|
|
aeson
|
|
attoparsec
|
|
dlist
|
|
hashable
|
|
primitive
|
|
scientific
|
|
unordered-containers
|
|
vector
|
|
]) super.ghcjs-base;
|
|
|
|
ghcjs-dom = addBuildDepend self.ghcjs-dom-javascript super.ghcjs-dom;
|
|
ghcjs-dom-javascript = addBuildDepend self.ghcjs-base super.ghcjs-dom-javascript;
|
|
jsaddle = addBuildDepend self.ghcjs-base super.jsaddle;
|
|
jsaddle-dom = addBuildDepend self.ghcjs-base super.jsaddle-dom;
|
|
})
|