From 9185fc7c6f7bbe4e225616d213cfa2a02fcee175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 2 Feb 2016 04:56:56 +0100 Subject: [PATCH] libvdpau: use a cleaner installation method (cherry picked from commit bd2ca1e539c71e83445bb04ccc0e15cb4c80861f) --- pkgs/development/libraries/libvdpau/default.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pkgs/development/libraries/libvdpau/default.nix b/pkgs/development/libraries/libvdpau/default.nix index f38cc51f6c24..107c8448795c 100644 --- a/pkgs/development/libraries/libvdpau/default.nix +++ b/pkgs/development/libraries/libvdpau/default.nix @@ -14,13 +14,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-module-dir=${mesa_noglu.driverLink}/lib/vdpau" ]; - installFlags = [ "DESTDIR=$(out)" ]; - - postInstall = '' - cp -r $out/${mesa_noglu.driverLink}/* $out - cp -r $out/$out/* $out - rm -rf $out/run $out/$(echo "$out" | cut -d "/" -f2) - ''; + installFlags = [ "moduledir=$(out)/lib/vdpau" ]; meta = with stdenv.lib; { homepage = http://people.freedesktop.org/~aplattner/vdpau/;