about summary refs log tree commit diff
path: root/pkgs/tools/compression
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-26 16:48:28 +0100
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-26 16:48:29 +0100
commit7d2f8eca1beaae3b94c568707698c6d612b0d645 (patch)
treeb8f81efec6f2e8fc10db497e240d1621cfed3287 /pkgs/tools/compression
parent2352e2589ea0de775ffb6b68e66964c694953ea9 (diff)
downloadnixlib-7d2f8eca1beaae3b94c568707698c6d612b0d645.tar
nixlib-7d2f8eca1beaae3b94c568707698c6d612b0d645.tar.gz
nixlib-7d2f8eca1beaae3b94c568707698c6d612b0d645.tar.bz2
nixlib-7d2f8eca1beaae3b94c568707698c6d612b0d645.tar.lz
nixlib-7d2f8eca1beaae3b94c568707698c6d612b0d645.tar.xz
nixlib-7d2f8eca1beaae3b94c568707698c6d612b0d645.tar.zst
nixlib-7d2f8eca1beaae3b94c568707698c6d612b0d645.zip
Revert "lz4: be just a bit more reproducible"
This reverts commit efc359c23135ebccc2835b37513f01adf73e2dac,
as it is no longer needed.

See: https://github.com/NixOS/nixpkgs/commit/efc359c23135ebccc2835b37513f01adf73e2dac#commitcomment-15680107
Diffstat (limited to 'pkgs/tools/compression')
-rw-r--r--pkgs/tools/compression/lz4/default.nix11
1 files changed, 2 insertions, 9 deletions
diff --git a/pkgs/tools/compression/lz4/default.nix b/pkgs/tools/compression/lz4/default.nix
index cdc42e4b8488..8340ea3fe8b0 100644
--- a/pkgs/tools/compression/lz4/default.nix
+++ b/pkgs/tools/compression/lz4/default.nix
@@ -11,17 +11,8 @@ stdenv.mkDerivation rec {
     owner = "Cyan4973";
   };
 
-  patches = [ ./install-on-freebsd.patch ] ;
-
   buildInputs = stdenv.lib.optional doCheck valgrind;
 
-  # An ever-changing __DATE__ isn't very reproducible, so we must override it.
-  # But rather than displaying "()" or 1970, let --version show useful info:
-  NIX_CFLAGS_COMPILE = [
-    ''-D__DATE__="${stdenv.cc.cc.name}"''
-    "-Wno-builtin-macro-redefined"
-  ];
-
   enableParallelBuilding = true;
 
   makeFlags = [ "PREFIX=$(out)" ];
@@ -29,6 +20,8 @@ stdenv.mkDerivation rec {
   doCheck = false; # tests take a very long time
   checkTarget = "test";
 
+  patches = [ ./install-on-freebsd.patch ] ;
+
   meta = with stdenv.lib; {
     description = "Extremely fast compression algorithm";
     longDescription = ''