haskell-securemem: fix build with GHC 8.4
commitb0270dfcec088c15e7537fdd20ff1e0d42e95587
authorShea Levy <shea@shealevy.com>
dateThu 8 Feb 2018, 22:51 (9 years ago)
parent74bde7e
pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix+9
@@ -906,4 +906,13 @@ self: super: {
906906
907907 # https://github.com/haskell-hvr/deepseq-generics/pull/4
908908 deepseq-generics = doJailbreak super.deepseq-generics;
909+
910+ # SMP compat
911+ # https://github.com/vincenthz/hs-securemem/pull/12
912+ securemem =
913+ let patch = pkgs.fetchpatch
914+ { url = https://github.com/vincenthz/hs-securemem/commit/6168d90b00bfc6a559d3b9160732343644ef60fb.patch;
915+ sha256 = "0pfjmq57kcvxq7mhljd40whg2g77vdlvjyycdqmxxzz1crb6pipf";
916+ };
917+ in appendPatch super.securemem patch;
909918}