diff --git a/pkgs/development/libraries/libva/default.nix b/pkgs/development/libraries/libva/default.nix index e04c3b9828d..3b4c6235686 100644 --- a/pkgs/development/libraries/libva/default.nix +++ b/pkgs/development/libraries/libva/default.nix @@ -21,16 +21,11 @@ stdenv.mkDerivation rec { configureFlags = lib.optionals (!minimal) [ "--with-drivers-path=${mesa_noglu.driverLink}/lib/dri" - "--enable-glx" - ]; + "--enable-glx" + ]; - installFlags = lib.optional (!minimal) "DESTDIR=$(out)"; - - postInstall = lib.optionalString (!minimal) '' - cp -r $out/${mesa_noglu.driverLink}/* $out - cp -r $out/$out/* $out - rm -rf $out/run $out/$(echo "$out" | cut -d "/" -f2) - ''; + installFlags = lib.optional (!minimal) "dummy_drv_video_ladir=$(out)/lib/dri"; + postInstall = ""; meta = with stdenv.lib; { homepage = http://www.freedesktop.org/wiki/Software/vaapi;