git.iko.soy/typeable/cabal2nix
on master help sign in
Add missing random library to include-file.
commit582391ab8bcf0cbab9af9f1dd7e37a753334d782 authorPeter Simons <simons@cryp.to> dateWed 16 Sep 2015, 20:28 (11 years ago) parentea90238
1 file changed+1
distribution-nixpkgs/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+1
distribution-nixpkgs/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+1
@@ -50,6 +50,7 @@ hooks =
5050 , ("hmatrix", set phaseOverrides "preConfigure = \"sed -i hmatrix.cabal -e 's@/usr/@/dont/hardcode/paths/@'\";")
5151 , ("hslua", over (libraryDepends . each) (replace (pkg "lua") (pkg "lua5_1")))
5252 , ("imagemagick", set (libraryDepends . pkgconfig . contains (pkg "imagemagick")) True) -- https://github.com/NixOS/cabal2nix/issues/136
53+ , ("include-file <= 0.1.0.2", set (libraryDepends . haskell . contains (bind "self.random")) True) -- https://github.com/Daniel-Diaz/include-file/issues/1
5354 , ("jsaddle", set (dependencies . haskell . contains (bind "self.ghcjs-base")) False)
5455 , ("libconfig", over (libraryDepends . system) (replace (binding # ("config", path # ["null"])) (pkg "libconfig")))
5556 , ("liquid-fixpoint", set (executableDepends . system . contains (pkg "ocaml")) True . set (testDepends . system . contains (pkg "z3")) True)