git.iko.soy/typeable/cabal2nix
on master help sign in
PostProcess.hs: clean up code for git-annex so that the package can be built with doCheck=false
commit69ca91ffec7d523038bfc7425f7305f0b9f95dbf authorPeter Simons <simons@cryp.to> dateMon 23 Dec 2013, 20:31 (13 years ago) parent8020a93
1 file changed+4−3
src/Cabal2Nix/PostProcess.hs+4−3
src/Cabal2Nix/PostProcess.hs+4−3
@@ -167,11 +167,12 @@ xmonadPostInstall = unlines
167167
168168gitAnnexOverrides :: String
169169gitAnnexOverrides = unlines
170− [ "preConfigure = \"patchShebangs .\";"
171− , "installPhase = \"./Setup install\";"
172− , "checkPhase = ''"
170+ [ "installPhase = ''"
173171 , " export HOME=\"$NIX_BUILD_TOP/tmp\""
174172 , " mkdir \"$HOME\""
173+ , " ./Setup install"
174+ , "'';"
175+ , "checkPhase = ''"
175176 , " cp dist/build/git-annex/git-annex git-annex"
176177 , " ./git-annex test"
177178 , "'';"