lz4: be just a bit more reproducible
This commit is contained in:
parent
af911744fd
commit
efc359c231
|
@ -11,8 +11,17 @@ 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)" ];
|
||||
|
@ -20,8 +29,6 @@ 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 = ''
|
||||
|
|
Loading…
Reference in New Issue