summary refs log tree commit diff
path: root/pkgs/development/tools/misc/universal-ctags
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2018-01-05 14:17:03 +0900
committerMatthieu Coudron <mattator@gmail.com>2018-01-05 14:17:03 +0900
commitc696d38ecdfd7563b4d85ade25c0821c33a654ed (patch)
tree7190aef0030831cdc0fca6b75c5494188c182871 /pkgs/development/tools/misc/universal-ctags
parentf59a0f7f1a6d968e0e05bd7d3188f32f17eb226f (diff)
downloadnixpkgs-c696d38ecdfd7563b4d85ade25c0821c33a654ed.tar
nixpkgs-c696d38ecdfd7563b4d85ade25c0821c33a654ed.tar.gz
nixpkgs-c696d38ecdfd7563b4d85ade25c0821c33a654ed.tar.bz2
nixpkgs-c696d38ecdfd7563b4d85ade25c0821c33a654ed.tar.lz
nixpkgs-c696d38ecdfd7563b4d85ade25c0821c33a654ed.tar.xz
nixpkgs-c696d38ecdfd7563b4d85ade25c0821c33a654ed.tar.zst
nixpkgs-c696d38ecdfd7563b4d85ade25c0821c33a654ed.zip
universal-ctags: 2017-09-22 -> 2018-01-05
Fixup of https://github.com/NixOS/nixpkgs/issues/33124 (ctags failed to
create its temporary files when TMPDIR was not in environment). I used
the opportunity to bump version with the improvements made to ctags to
help diagnose these kinds of errors:
https://github.com/universal-ctags/ctags/pull/1648
Diffstat (limited to 'pkgs/development/tools/misc/universal-ctags')
-rw-r--r--pkgs/development/tools/misc/universal-ctags/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/tools/misc/universal-ctags/default.nix b/pkgs/development/tools/misc/universal-ctags/default.nix
index 2a77fc42602..eb51abe0321 100644
--- a/pkgs/development/tools/misc/universal-ctags/default.nix
+++ b/pkgs/development/tools/misc/universal-ctags/default.nix
@@ -2,22 +2,25 @@
 
 stdenv.mkDerivation rec {
   name = "universal-ctags-${version}";
-  version = "2017-09-22";
+  version = "2018-01-05";
 
   src = fetchFromGitHub {
     owner = "universal-ctags";
     repo = "ctags";
-    rev = "b9537289952cc7b26526aaff3094599d714d1729";
-    sha256 = "1kbw9ycl2ddzpfs1v4rbqa4gdhw4inrisf4awyaxb7zxfxmbzk1g";
+    rev = "c66bdfb4db99977c1bd0568e33e60853a48dca65";
+    sha256 = "0fdzhr0704cj84ym00plkl5l9w83haal6i6w70lx6f4968pcliyi";
   };
 
   nativeBuildInputs = [ autoreconfHook pkgconfig pythonPackages.docutils ];
   buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
 
+  # to generate makefile.in
   autoreconfPhase = ''
-    ./autogen.sh --tmpdir
+    ./autogen.sh
   '';
 
+  configureFlags = [ "--enable-tmpdir=/tmp" ];
+
   postConfigure = ''
     sed -i 's|/usr/bin/env perl|${perl}/bin/perl|' misc/optlib2c
   '';