summary refs log tree commit diff
path: root/pkgs/development/libraries/libva
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-02-06 16:45:21 +0100
committerVladimír Čunát <vcunat@gmail.com>2016-02-06 16:45:21 +0100
commit8ea5563011ee202eda146e2cc8f8754f239303cf (patch)
tree91eb350e0a38b6a01eb2e2e93b8357b71c270745 /pkgs/development/libraries/libva
parent9185fc7c6f7bbe4e225616d213cfa2a02fcee175 (diff)
downloadnixpkgs-8ea5563011ee202eda146e2cc8f8754f239303cf.tar
nixpkgs-8ea5563011ee202eda146e2cc8f8754f239303cf.tar.gz
nixpkgs-8ea5563011ee202eda146e2cc8f8754f239303cf.tar.bz2
nixpkgs-8ea5563011ee202eda146e2cc8f8754f239303cf.tar.lz
nixpkgs-8ea5563011ee202eda146e2cc8f8754f239303cf.tar.xz
nixpkgs-8ea5563011ee202eda146e2cc8f8754f239303cf.tar.zst
nixpkgs-8ea5563011ee202eda146e2cc8f8754f239303cf.zip
libva: use a cleaner installation method
Diffstat (limited to 'pkgs/development/libraries/libva')
-rw-r--r--pkgs/development/libraries/libva/default.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgs/development/libraries/libva/default.nix b/pkgs/development/libraries/libva/default.nix
index e8de6ac284e..557d0f59155 100644
--- a/pkgs/development/libraries/libva/default.nix
+++ b/pkgs/development/libraries/libva/default.nix
@@ -19,13 +19,7 @@ in stdenv.mkDerivation rec {
     "--enable-glx"
   ];
 
-  installFlags = lib.optional withMesa "DESTDIR=$(out)";
-
-  postInstall = lib.optionalString withMesa ''
-    cp -r $out/${mesa_noglu.driverLink}/* $out
-    cp -r $out/$out/* $out
-    rm -rf $out/run $out/$(echo "$out" | cut -d "/" -f2)
-  '';
+  installFlags = [ "dummy_drv_video_ladir=$(out)/lib/dri" ];
 
   meta = with stdenv.lib; {
     homepage = http://www.freedesktop.org/wiki/Software/vaapi;