-
-
Save cleverca22/4118612da04b957b27f3aa106272cc54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs>{}; | |
let | |
mypkgs = haskell.packages.ghc844.override { | |
overrides = super: self: { | |
hmatrix = haskell.lib.overrideCabal (haskell.lib.doJailbreak (self.callHackage "hmatrix" "0.15.0.0" {})) (drv: { | |
patches = [ ./hide-join.patch ]; | |
}); | |
}; | |
}; | |
in | |
mypkgs.kmeans-par |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r -u -Z hmatrix-0.15.0.0-orig/lib/Data/Packed/Internal/Vector.hs hmatrix-0.15.0.0/lib/Data/Packed/Internal/Vector.hs | |
--- hmatrix-0.15.0.0-orig/lib/Data/Packed/Internal/Vector.hs 2019-03-25 08:28:38.802120030 -0300 | |
+++ hmatrix-0.15.0.0/lib/Data/Packed/Internal/Vector.hs 2019-03-25 08:33:22.123932601 -0300 | |
@@ -50,7 +50,7 @@ | |
import Foreign.ForeignPtr (mallocForeignPtrBytes) | |
#endif | |
-import GHC.Base | |
+import GHC.Base hiding (join) | |
#if __GLASGOW_HASKELL__ < 612 | |
import GHC.IOBase hiding (liftIO) | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment