From bd2ca1e539c71e83445bb04ccc0e15cb4c80861f 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: fixup branch interactions This solution is cleaner anyway. --- 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 c2ec587a52e3..da0773335a4d 100644 --- a/pkgs/development/libraries/libvdpau/default.nix +++ b/pkgs/development/libraries/libvdpau/default.nix @@ -16,13 +16,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/;