todoman: remove glibLocale when it's not needed
Don't know why they were there in the first place :/.
This commit is contained in:
parent
181dfe306f
commit
c011a6b321
|
@ -17,17 +17,9 @@ buildPythonApplication rec {
|
||||||
sha256 = "16brw2zhm5vamffin6qjb0lxjlj3ba40vaficl851nw2xh2mrdhy";
|
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 = [
|
nativeBuildInputs = [
|
||||||
installShellFiles
|
installShellFiles
|
||||||
];
|
];
|
||||||
buildInputs = [
|
|
||||||
glibcLocales
|
|
||||||
];
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
atomicwrites
|
atomicwrites
|
||||||
click
|
click
|
||||||
|
@ -51,12 +43,10 @@ buildPythonApplication rec {
|
||||||
pytest
|
pytest
|
||||||
pytestrunner
|
pytestrunner
|
||||||
pytestcov
|
pytestcov
|
||||||
|
glibcLocales
|
||||||
];
|
];
|
||||||
|
|
||||||
makeWrapperArgs = [
|
LC_ALL = "en_US.UTF-8";
|
||||||
"--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive"
|
|
||||||
"--set CHARSET en_us.UTF-8"
|
|
||||||
];
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --bash contrib/completion/bash/_todo
|
installShellCompletion --bash contrib/completion/bash/_todo
|
||||||
|
|
Loading…
Reference in New Issue