Fix SDL2-ttf and hnetcdf expressions in post-processing.
commitae241d80df8651eb0b2cd7c078e0a577522a5576
authorPeter Simons <simons@cryp.to>
dateMon 12 Jan 2015, 15:32 (12 years ago)
parent8076e38
src/Cabal2Nix/PostProcess.hs+4
@@ -98,6 +98,10 @@ postProcess deriv@(MkDerivation {..})
9898 , configureFlags = "--extra-include-dirs=${freetype}/include/freetype2":configureFlags
9999 }
100100 | 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 }
101105 | otherwise = deriv
102106
103107ghcModPostInstall :: String -> Version -> String