about summary refs log tree commit diff
path: root/pkgs/applications/version-management
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2019-02-27 15:37:23 -0600
committerWill Dietz <w@wdtz.org>2019-02-27 15:37:23 -0600
commit46c41005526707ef9f6ccafc7b2158e0572851b4 (patch)
tree6574d68502ebe5e43a19fd386a3a36ab05b8a530 /pkgs/applications/version-management
parent0185daf3abe725881cb88c448770841cab36491a (diff)
downloadnixlib-46c41005526707ef9f6ccafc7b2158e0572851b4.tar
nixlib-46c41005526707ef9f6ccafc7b2158e0572851b4.tar.gz
nixlib-46c41005526707ef9f6ccafc7b2158e0572851b4.tar.bz2
nixlib-46c41005526707ef9f6ccafc7b2158e0572851b4.tar.lz
nixlib-46c41005526707ef9f6ccafc7b2158e0572851b4.tar.xz
nixlib-46c41005526707ef9f6ccafc7b2158e0572851b4.tar.zst
nixlib-46c41005526707ef9f6ccafc7b2158e0572851b4.zip
gitAndTools.hub: simplify
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r--pkgs/applications/version-management/git-and-tools/hub/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/hub/default.nix b/pkgs/applications/version-management/git-and-tools/hub/default.nix
index 1af9160f66e3..9f18beda7f93 100644
--- a/pkgs/applications/version-management/git-and-tools/hub/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/hub/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, buildGoPackage, fetchFromGitHub, ronn, ruby, groff, Security, utillinux, git, glibcLocales }:
+{ stdenv, buildGoPackage, fetchFromGitHub, groff, Security, utillinux }:
 
 buildGoPackage rec {
   pname = "hub";
@@ -16,9 +16,8 @@ buildGoPackage rec {
     sha256 = "1vvrc3k81jm9c664g0j9666i7ypn7n7jfyj4gxcybq3sg2d4di27";
   };
 
-  nativeBuildInputs = [ groff ronn utillinux glibcLocales ];
-  buildInputs = [ ruby ] ++
-    stdenv.lib.optional stdenv.isDarwin Security;
+  nativeBuildInputs = [ groff utillinux ];
+  buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
 
   postPatch = ''
     patchShebangs .
@@ -30,7 +29,8 @@ buildGoPackage rec {
     install -D etc/hub.bash_completion.sh "$bin/share/bash-completion/completions/hub"
     install -D etc/hub.fish_completion  "$bin/share/fish/vendor_completions.d/hub.fish"
 
-    PATH=$PATH:${git}/bin LC_ALL=en_US.utf-8 make man-pages
+    LC_ALL=C.UTF8 \
+    make man-pages
     cp -vr --parents share/man/man[1-9]/*.[1-9] $bin/
   '';