From 137ce9ec09205ada0c7ca2552737318ecbffa8bf Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Mon, 29 Jul 2019 23:52:39 -0500 Subject: [PATCH] universal-ctags: 2018-07-23 -> 2019-07-30 --- .../tools/misc/universal-ctags/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/universal-ctags/default.nix b/pkgs/development/tools/misc/universal-ctags/default.nix index 57de59605f30..ebc85c19b395 100644 --- a/pkgs/development/tools/misc/universal-ctags/default.nix +++ b/pkgs/development/tools/misc/universal-ctags/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { name = "universal-ctags-${version}"; - version = "2018-07-23"; + version = "unstable-2019-07-30"; src = fetchFromGitHub { owner = "universal-ctags"; repo = "ctags"; - rev = "3522685695ad3312cf4b19399e0c44f3395dd089"; - sha256 = "1f67hy8c2yr9z4ydsqd7wg8iagzn01qjw2ccx6g8mngv3i3jz9mv"; + rev = "920e7910146915e5cae367bc9f135ffd8b042042"; + sha256 = "14n3ix77rkhq6vq6kspmgjrmm0kg0f8cxikyqdq281sbnfq8bajn"; }; nativeBuildInputs = [ autoreconfHook pkgconfig pythonPackages.docutils ]; @@ -21,6 +21,12 @@ stdenv.mkDerivation rec { configureFlags = [ "--enable-tmpdir=/tmp" ]; + postPatch = '' + # Remove source of non-determinism + substituteInPlace main/options.c \ + --replace "printf (\" Compiled: %s, %s\n\", __DATE__, __TIME__);" "" + ''; + postConfigure = '' sed -i 's|/usr/bin/env perl|${perl}/bin/perl|' misc/optlib2c '';