lol

lz4: be just a bit more reproducible

+9 -2
+9 -2
pkgs/tools/compression/lz4/default.nix
··· 11 11 owner = "Cyan4973"; 12 12 }; 13 13 14 + patches = [ ./install-on-freebsd.patch ] ; 15 + 14 16 buildInputs = stdenv.lib.optional doCheck valgrind; 15 17 18 + # An ever-changing __DATE__ isn't very reproducible, so we must override it. 19 + # But rather than displaying "()" or 1970, let --version show useful info: 20 + NIX_CFLAGS_COMPILE = [ 21 + ''-D__DATE__="${stdenv.cc.cc.name}"'' 22 + "-Wno-builtin-macro-redefined" 23 + ]; 24 + 16 25 enableParallelBuilding = true; 17 26 18 27 makeFlags = [ "PREFIX=$(out)" ]; 19 28 20 29 doCheck = false; # tests take a very long time 21 30 checkTarget = "test"; 22 - 23 - patches = [ ./install-on-freebsd.patch ] ; 24 31 25 32 meta = with stdenv.lib; { 26 33 description = "Extremely fast compression algorithm";