diff options
author | Nikolay Amiantov <ab@fmap.me> | 2015-03-31 16:30:28 +0300 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-04-15 13:39:36 +0200 |
commit | 0e223ffafe5d0c96b96b463bb536e422c5db380b (patch) | |
tree | 103e076eea7e287bcc0aac29cc0eb29a7e5516aa /pkgs/development/haskell-modules/configuration-ghcjs.nix | |
parent | 5b495bec46826830b1ff55b10dabea8938a7abd7 (diff) | |
download | nixlib-0e223ffafe5d0c96b96b463bb536e422c5db380b.tar nixlib-0e223ffafe5d0c96b96b463bb536e422c5db380b.tar.gz nixlib-0e223ffafe5d0c96b96b463bb536e422c5db380b.tar.bz2 nixlib-0e223ffafe5d0c96b96b463bb536e422c5db380b.tar.lz nixlib-0e223ffafe5d0c96b96b463bb536e422c5db380b.tar.xz nixlib-0e223ffafe5d0c96b96b463bb536e422c5db380b.tar.zst nixlib-0e223ffafe5d0c96b96b463bb536e422c5db380b.zip |
haskellng.jsaddle: fix on non-ghcjs
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghcjs.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghcjs.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghcjs.nix b/pkgs/development/haskell-modules/configuration-ghcjs.nix index aa872a950fcb..e880f7e713e8 100644 --- a/pkgs/development/haskell-modules/configuration-ghcjs.nix +++ b/pkgs/development/haskell-modules/configuration-ghcjs.nix @@ -71,7 +71,7 @@ self: super: { cat >> src/Reactive/Banana/Switch.hs <<EOF instance Functor (AnyMoment Identity) where fmap = liftM - + instance Applicative (AnyMoment Identity) where pure = return (<*>) = ap @@ -98,4 +98,5 @@ self: super: { ghcjs-dom = overrideCabal super.ghcjs-dom (drv: { buildDepends = [ self.base self.mtl self.text self.ghcjs-base ]; }); + } |