git.iko.soy/typeable/cabal2nix
on master help sign in
Add preConfigure hook to hmatrix to patch out hard-coded /usr paths.
commitd36a5a8d6678f3535ca9f8f50bb2b2ba6f052cf1 authorPeter Simons <simons@cryp.to> dateWed 16 Sep 2015, 10:08 (11 years ago) parentd19558d
1 file changed+1
distribution-nixpkgs/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+1
distribution-nixpkgs/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+1
@@ -43,6 +43,7 @@ hooks =
4343 , ("git-annex", gitAnnexHook)
4444 , ("haddock", set phaseOverrides "preCheck = \"unset GHC_PACKAGE_PATH\";")
4545 , ("HFuse", set phaseOverrides hfusePreConfigure)
46+ , ("hmatrix", set phaseOverrides "preConfigure = \"sed -i hmatrix.cabal -e 's@/usr/@/dont/hardcode/paths/@'\";")
4647 , ("gf", set phaseOverrides gfPhaseOverrides . set doCheck False)
4748 , ("github-backup", set (executableDepends . tool . contains (pkg "git")) True)
4849 , ("GlomeVec", set (libraryDepends . pkgconfig . contains (bind "self.llvmPackages.llvm")) True)