git.iko.soy/typeable/cabal2nix
on master help sign in
PostProcess.hs: fix package name for 'tzdata'
ac9172dPeter Simons
src/Cabal2Nix/PostProcess.hs+1−1
@@ -96,7 +96,7 @@ postProcess deriv@(MkDerivation {..})
96 | pname == "terminfo" = deriv { extraLibs = "ncurses":extraLibs }
96 | pname == "terminfo" = deriv { extraLibs = "ncurses":extraLibs }
97 | pname == "threadscope" = deriv { configureFlags = "--ghc-options=-rtsopts":configureFlags }
97 | pname == "threadscope" = deriv { configureFlags = "--ghc-options=-rtsopts":configureFlags }
98 | pname == "thyme" = deriv { buildTools = "cpphs":buildTools }
98 | 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\";" }
100 | pname == "vacuum" = deriv { extraLibs = "ghcPaths":extraLibs }
100 | pname == "vacuum" = deriv { extraLibs = "ghcPaths":extraLibs }
101 | pname == "vector" = deriv { configureFlags = "${stdenv.lib.optionalString stdenv.isi686 \"--ghc-options=-msse2\"}":configureFlags }
101 | pname == "vector" = deriv { configureFlags = "${stdenv.lib.optionalString stdenv.isi686 \"--ghc-options=-msse2\"}":configureFlags }
102 | pname == "wxc" = deriv { extraLibs = "wxGTK":"mesa":"libX11":extraLibs, phaseOverrides = wxcPostInstall version }
102 | pname == "wxc" = deriv { extraLibs = "wxGTK":"mesa":"libX11":extraLibs, phaseOverrides = wxcPostInstall version }