git.iko.soy/typeable/cabal2nix
on master help sign in
Configure post-process hook for ghc-mod to deal with GHC 7.8.2.
0696498Peter Simons
src/Cabal2Nix/PostProcess.hs+2−1
@@ -126,7 +126,8 @@ cudaConfigurePhase = unlines
126
126
127ghcModPostInstall :: String
127ghcModPostInstall :: String
128ghcModPostInstall = unlines
128ghcModPostInstall = unlines
129+ [ "configureFlags = \"--datasubdir=${self.pname}-${self.version}\";"
129− [ "postInstall = ''"
130+ , "postInstall = ''"
130 , " cd $out/share/$pname-$version"
131 , " cd $out/share/$pname-$version"
131 , " make"
132 , " make"
132 , " rm Makefile"
133 , " rm Makefile"