Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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

+7 -4
+7 -4
pkgs/development/tools/misc/universal-ctags/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 name = "universal-ctags-${version}"; 5 - version = "2017-09-22"; 6 7 src = fetchFromGitHub { 8 owner = "universal-ctags"; 9 repo = "ctags"; 10 - rev = "b9537289952cc7b26526aaff3094599d714d1729"; 11 - sha256 = "1kbw9ycl2ddzpfs1v4rbqa4gdhw4inrisf4awyaxb7zxfxmbzk1g"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkgconfig pythonPackages.docutils ]; 15 buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv; 16 17 autoreconfPhase = '' 18 - ./autogen.sh --tmpdir 19 ''; 20 21 postConfigure = '' 22 sed -i 's|/usr/bin/env perl|${perl}/bin/perl|' misc/optlib2c
··· 2 3 stdenv.mkDerivation rec { 4 name = "universal-ctags-${version}"; 5 + version = "2018-01-05"; 6 7 src = fetchFromGitHub { 8 owner = "universal-ctags"; 9 repo = "ctags"; 10 + rev = "c66bdfb4db99977c1bd0568e33e60853a48dca65"; 11 + sha256 = "0fdzhr0704cj84ym00plkl5l9w83haal6i6w70lx6f4968pcliyi"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkgconfig pythonPackages.docutils ]; 15 buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv; 16 17 + # to generate makefile.in 18 autoreconfPhase = '' 19 + ./autogen.sh 20 ''; 21 + 22 + configureFlags = [ "--enable-tmpdir=/tmp" ]; 23 24 postConfigure = '' 25 sed -i 's|/usr/bin/env perl|${perl}/bin/perl|' misc/optlib2c