From 8b12eee201df200c2777687fcf1036a4db4e23c5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 1 Sep 2016 16:22:35 +0200 Subject: [PATCH] x265: Don't install static library Following our general policy to only install dynamic libraries. If the static library turns out to be needed, it could be moved to a separate output. --- pkgs/development/libraries/x265/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/x265/default.nix b/pkgs/development/libraries/x265/default.nix index 0a287363e67c..c485cb6a05aa 100644 --- a/pkgs/development/libraries/x265/default.nix +++ b/pkgs/development/libraries/x265/default.nix @@ -49,6 +49,10 @@ stdenv.mkDerivation rec { cd source ''; + postInstall = '' + rm $out/lib/*.a + ''; + nativeBuildInputs = [ cmake yasm ]; meta = with stdenv.lib; {