git.iko.soy/typeable/cabal2nix
on master help sign in
PostProcess.hs: fix package name for 'tzdata'
commitac9172d7b82c087098b9221d50d91ebbe8c116ae authorPeter Simons <simons@cryp.to> dateTue 16 Dec 2014, 20:26 (12 years ago) parent1a71b8d
1 file changed+1−1
src/Cabal2Nix/PostProcess.hs+1−1
src/Cabal2Nix/PostProcess.hs+1−1
@@ -96,7 +96,7 @@ postProcess deriv@(MkDerivation {..})
9696 | pname == "terminfo" = deriv { extraLibs = "ncurses":extraLibs }
9797 | pname == "threadscope" = deriv { configureFlags = "--ghc-options=-rtsopts":configureFlags }
9898 | pname == "thyme" = deriv { buildTools = "cpphs":buildTools }
99− | pname == "tz" = deriv { extraFunctionArgs = ["pkgs_tzdata"], phaseOverrides = "preConfigure = \"export TZDIR=${pkgs_tzdata}/share/zoneinfo\";" }
99+ | pname == "tz" = deriv { extraFunctionArgs = ["tzdata"], phaseOverrides = "preConfigure = \"export TZDIR=${tzdata}/share/zoneinfo\";" }
100100 | pname == "vacuum" = deriv { extraLibs = "ghcPaths":extraLibs }
101101 | pname == "vector" = deriv { configureFlags = "${stdenv.lib.optionalString stdenv.isi686 \"--ghc-options=-msse2\"}":configureFlags }
102102 | pname == "wxc" = deriv { extraLibs = "wxGTK":"mesa":"libX11":extraLibs, phaseOverrides = wxcPostInstall version }