todoman: remove glibLocale when it's not needed

Don't know why they were there in the first place :/.
This commit is contained in:
Doron Behar 2020-04-26 11:06:01 +03:00
parent 181dfe306f
commit c011a6b321

View File

@ -17,17 +17,9 @@ buildPythonApplication rec {
sha256 = "16brw2zhm5vamffin6qjb0lxjlj3ba40vaficl851nw2xh2mrdhy";
};
LOCALE_ARCHIVE = stdenv.lib.optionalString stdenv.isLinux
"${glibcLocales}/lib/locale/locale-archive";
LANG = "en_US.UTF-8";
LC_TYPE = "en_US.UTF-8";
nativeBuildInputs = [
installShellFiles
];
buildInputs = [
glibcLocales
];
propagatedBuildInputs = with python3.pkgs; [
atomicwrites
click
@ -51,12 +43,10 @@ buildPythonApplication rec {
pytest
pytestrunner
pytestcov
glibcLocales
];
makeWrapperArgs = [
"--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive"
"--set CHARSET en_us.UTF-8"
];
LC_ALL = "en_US.UTF-8";
postInstall = ''
installShellCompletion --bash contrib/completion/bash/_todo