tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
lz4: be just a bit more reproducible
Tobias Geerinckx-Rice
10 years ago
efc359c2
af911744
+9
-2
1 changed file
expand all
collapse all
unified
split
pkgs
tools
compression
lz4
default.nix
+9
-2
pkgs/tools/compression/lz4/default.nix
···
11
11
owner = "Cyan4973";
12
12
};
13
13
14
14
+
patches = [ ./install-on-freebsd.patch ] ;
15
15
+
14
16
buildInputs = stdenv.lib.optional doCheck valgrind;
15
17
18
18
+
# An ever-changing __DATE__ isn't very reproducible, so we must override it.
19
19
+
# But rather than displaying "()" or 1970, let --version show useful info:
20
20
+
NIX_CFLAGS_COMPILE = [
21
21
+
''-D__DATE__="${stdenv.cc.cc.name}"''
22
22
+
"-Wno-builtin-macro-redefined"
23
23
+
];
24
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
22
-
23
23
-
patches = [ ./install-on-freebsd.patch ] ;
24
31
25
32
meta = with stdenv.lib; {
26
33
description = "Extremely fast compression algorithm";