From b87d5abafd8e77669f69470ee17f47e8464d3370 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 5 Sep 2016 17:46:25 +0200 Subject: [PATCH] lz4: Don't install static library --- pkgs/tools/compression/lz4/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 = ''