git.iko.soy/typeable/cabal2nix
on master help sign in
Fix SDL2-ttf and hnetcdf expressions in post-processing.
ae241d8Peter Simons
src/Cabal2Nix/PostProcess.hs+4
@@ -98,6 +98,10 @@ postProcess deriv@(MkDerivation {..})
98 , configureFlags = "--extra-include-dirs=${freetype}/include/freetype2":configureFlags
98 , configureFlags = "--extra-include-dirs=${freetype}/include/freetype2":configureFlags
99 }
99 }
100 | pname == "xmonad" = deriv { phaseOverrides = xmonadPostInstall }
100 | pname == "xmonad" = deriv { phaseOverrides = xmonadPostInstall }
101+
102+-- good post-processing
103+ | pname == "hnetcdf" = deriv { testDepends = delete "netcdf" testDepends }
104+ | pname == "SDL2-ttf" = deriv { buildDepends = delete "SDL2" buildDepends }
101 | otherwise = deriv
105 | otherwise = deriv
102
106
103ghcModPostInstall :: String -> Version -> String
107ghcModPostInstall :: String -> Version -> String