git.iko.soy/typeable/cabal2nix
on master help sign in
Update git-annex post-process hook to set $HOME before running configure.
commitb116adf29b6aeb3a37488d7f3c75f478b873b4f5 authorPeter Simons <simons@cryp.to> dateMon 6 Jan 2014, 12:12 (13 years ago) parent28c7211
1 file changed+2−2
src/Cabal2Nix/PostProcess.hs+2−2
src/Cabal2Nix/PostProcess.hs+2−2
@@ -169,11 +169,11 @@ xmonadPostInstall = unlines
169169
170170gitAnnexOverrides :: String
171171gitAnnexOverrides = unlines
172− [ "installPhase = ''"
172+ [ "preConfigure = ''"
173173 , " export HOME=\"$NIX_BUILD_TOP/tmp\""
174174 , " mkdir \"$HOME\""
175− , " ./Setup install"
176175 , "'';"
176+ , "installPhase = \"./Setup install\";"
177177 , "checkPhase = ''"
178178 , " cp dist/build/git-annex/git-annex git-annex"
179179 , " ./git-annex test"