about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorGuillaume Bouchard <guillaume.bouchard@tweag.io>2019-02-04 13:04:06 +0100
committerGuillaume Bouchard <guillaume.bouchard@tweag.io>2019-02-04 13:50:52 +0100
commit3652cfec28a7694b3608614e0b8773bad463fa52 (patch)
tree52815f78fed3cd09d36b15727315a4228f0a95d8 /pkgs/development/haskell-modules/configuration-common.nix
parent9f0ee6c60640e8da18dda4db547ea867b76b18a0 (diff)
downloadnixlib-3652cfec28a7694b3608614e0b8773bad463fa52.tar
nixlib-3652cfec28a7694b3608614e0b8773bad463fa52.tar.gz
nixlib-3652cfec28a7694b3608614e0b8773bad463fa52.tar.bz2
nixlib-3652cfec28a7694b3608614e0b8773bad463fa52.tar.lz
nixlib-3652cfec28a7694b3608614e0b8773bad463fa52.tar.xz
nixlib-3652cfec28a7694b3608614e0b8773bad463fa52.tar.zst
nixlib-3652cfec28a7694b3608614e0b8773bad463fa52.zip
haskellPackages.primesieve: fix build
Temporaries changes in `configuration-common.nix` to fix the cabal
file which does not specify that the haskell library depends on the
C++ shared library. Pull request had been sent upstream.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 4b54ec5685bf..c5ddd18ff49b 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1196,4 +1196,11 @@ self: super: {
   beam-migrate = appendPatch super.beam-migrate ./patches/beam-migrate-fix-ghc-8.6.x-build.patch;
   beam-postgres = appendPatch super.beam-postgres ./patches/beam-postgres-fix-ghc-8.6.x-build.patch;
   beam-sqlite = appendPatch super.beam-sqlite ./patches/beam-sqlite-fix-ghc-8.6.x-build.patch;
+
+  # https://github.com/sighingnow/computations/pull/1
+  primesieve = appendPatch super.primesieve (pkgs.fetchpatch {
+    url = "https://github.com/sighingnow/computations/commit/1f96788367c879b999afe733e2fe28d919d17702.patch";
+    sha256 = "0lrcmcrxp9imj9rfaq7mb0fn9mxms4gq4sz95n4san3dpd0qmj9x";
+    stripLen = 1;
+    });
 } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super