haskellPackages.jsaddle: unbreak

Luckily, only version bounds with no weird GHC failures:
https://github.com/ghcjs/jsaddle/issues/123
wip/little-gl
sternenseemann 3 years ago
parent 207651a347
commit fbe45054e4
  1. 8
      pkgs/development/haskell-modules/configuration-common.nix

@ -1820,4 +1820,12 @@ self: super: {
extraPrefix = "";
});
# https://github.com/ghcjs/jsaddle/issues/123
jsaddle = overrideCabal super.jsaddle (drv: {
# lift conditional version constraint on ref-tf
postPatch = ''
sed -i 's/ref-tf.*,/ref-tf,/' jsaddle.cabal
'' + (drv.postPatch or "");
});
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

Loading…
Cancel
Save