haskellng.jsaddle: fix on non-ghcjs

This commit is contained in:
Nikolay Amiantov 2015-03-31 16:30:28 +03:00 committed by Peter Simons
parent 5b495bec46
commit 0e223ffafe
4 changed files with 18 additions and 1 deletions

View File

@ -303,4 +303,10 @@ self: super: {
sed -i -e "s,<\*,<¤,g" XMonad/Actions/Volume.hs
'';
});
# Workaround for a workaround, see comment for "ghcjs" flag.
jsaddle = let jsaddle' = disableCabalFlag super.jsaddle "ghcjs";
in addBuildDepends jsaddle' [ self.glib self.gtk3 self.webkitgtk3
self.webkitgtk3-javascriptcore ];
}

View File

@ -120,4 +120,9 @@ self: super: {
# Newer versions require base > 4.7
gloss = super.gloss_1_9_2_1;
# Workaround for a workaround, see comment for "ghcjs" flag.
jsaddle = let jsaddle' = disableCabalFlag super.jsaddle "ghcjs";
in addBuildDepends jsaddle' [ self.glib self.gtk3 self.webkitgtk3
self.webkitgtk3-javascriptcore ];
}

View File

@ -85,4 +85,9 @@ self: super: {
# https://github.com/ndmitchell/extra/issues/4
extra = dontCheck super.extra;
# Workaround for a workaround, see comment for "ghcjs" flag.
jsaddle = let jsaddle' = disableCabalFlag super.jsaddle "ghcjs";
in addBuildDepends jsaddle' [ self.glib self.gtk3 self.webkitgtk3
self.webkitgtk3-javascriptcore ];
}

View File

@ -98,4 +98,5 @@ self: super: {
ghcjs-dom = overrideCabal super.ghcjs-dom (drv: {
buildDepends = [ self.base self.mtl self.text self.ghcjs-base ];
});
}