haskellPackages.jsaddle: unbreak

Luckily, only version bounds with no weird GHC failures:
https://github.com/ghcjs/jsaddle/issues/123
This commit is contained in:
sternenseemann 2021-05-04 16:56:31 +02:00
parent 207651a347
commit fbe45054e4

View file

@ -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