From a90062d46f648f53cce5f0caf0e3686f40a99f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Fri, 1 Feb 2019 11:28:09 +0100 Subject: [PATCH] moreutils: unbreak 'ts -r' Fix this: $ ts -r Can't locate Date/Parse.pm in @INC [...] --- pkgs/tools/misc/moreutils/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/moreutils/default.nix b/pkgs/tools/misc/moreutils/default.nix index a7cfed568b1..00cbc8b4629 100644 --- a/pkgs/tools/misc/moreutils/default.nix +++ b/pkgs/tools/misc/moreutils/default.nix @@ -23,7 +23,10 @@ stdenv.mkDerivation rec { buildFlags = "CC=cc"; installFlags = "PREFIX=$(out)"; - postInstall = "wrapProgram $out/bin/chronic --prefix PERL5LIB : $PERL5LIB"; + postInstall = '' + wrapProgram $out/bin/chronic --prefix PERL5LIB : $PERL5LIB + wrapProgram $out/bin/ts --prefix PERL5LIB : $PERL5LIB + ''; meta = { description = "Growing collection of the unix tools that nobody thought to write long ago when unix was young";