diff --git a/pkgs/tools/compression/lz4/default.nix b/pkgs/tools/compression/lz4/default.nix index 8340ea3fe8b..4b2f0276d78 100644 --- a/pkgs/tools/compression/lz4/default.nix +++ b/pkgs/tools/compression/lz4/default.nix @@ -11,17 +11,21 @@ stdenv.mkDerivation rec { owner = "Cyan4973"; }; + outputs = [ "out" "dev" ]; + buildInputs = stdenv.lib.optional doCheck valgrind; enableParallelBuilding = true; - makeFlags = [ "PREFIX=$(out)" ]; + makeFlags = [ "PREFIX=$(out)" "INCLUDEDIR=$(dev)/include" ]; doCheck = false; # tests take a very long time checkTarget = "test"; patches = [ ./install-on-freebsd.patch ] ; + postInstall = "rm $out/lib/*.a"; + meta = with stdenv.lib; { description = "Extremely fast compression algorithm"; longDescription = ''