@@ -75,7 +75,7 @@ hooks =
7575 , ("hfsevents", hfseventsOverrides)
7676 , ("HFuse", set phaseOverrides hfusePreConfigure)
7777 , ("hlibgit2 >= 0.18.0.14", set (testDepends . tool . contains (pkg "git")) True)
78− , ("hmatrix", set phaseOverrides "preConfigure = \"sed -i hmatrix.cabal -e 's@/usr/@/dont/hardcode/paths/@'\";")
78+ , ("hmatrix", set phaseOverrides "preConfigure = \"sed -i hmatrix.cabal -e '/\\\\/usr\\\\//D'\";")
7979 , ("holy-project", set doCheck False) -- attempts to access the network
8080 , ("hoogle", set testTarget "--test-option=--no-net")
8181 , ("hsignal < 0.2.7.4", set phaseOverrides "prePatch = \"rm -v Setup.lhs\";") -- https://github.com/amcphail/hsignal/issues/1