about summary refs log tree commit diff
path: root/pkgs/applications/office/todoman
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2020-04-26 11:06:01 +0300
committerDoron Behar <doron.behar@gmail.com>2020-05-15 08:20:02 +0300
commitc011a6b32193e94954e2b262866619525fa0b93e (patch)
tree233d294f2da70eee2eb9a0c1c4a7597553e10973 /pkgs/applications/office/todoman
parent181dfe306f262e8e44f0952efa531f9e3c482ec5 (diff)
todoman: remove glibLocale when it's not needed
Don't know why they were there in the first place :/.
Diffstat (limited to 'pkgs/applications/office/todoman')
-rw-r--r--pkgs/applications/office/todoman/default.nix14
1 files changed, 2 insertions, 12 deletions
diff --git a/pkgs/applications/office/todoman/default.nix b/pkgs/applications/office/todoman/default.nix
index ca733f5fad168..163673afb2532 100644
--- a/pkgs/applications/office/todoman/default.nix
+++ b/pkgs/applications/office/todoman/default.nix
@@ -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