From 7b975abc16f4f8774ee5bf621a820fe800c5cabc Mon Sep 17 00:00:00 2001 From: "Jason \\\"Don\\\" O'Conal" Date: Thu, 4 Jul 2013 15:03:18 +1000 Subject: [PATCH] libvdpau: fix build on drawin * force x86_64 arch --- pkgs/development/libraries/libvdpau/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libvdpau/default.nix b/pkgs/development/libraries/libvdpau/default.nix index 158106247055..835e2711a776 100644 --- a/pkgs/development/libraries/libvdpau/default.nix +++ b/pkgs/development/libraries/libvdpau/default.nix @@ -11,6 +11,8 @@ stdenv.mkDerivation rec { buildInputs = with xlibs; [ pkgconfig dri2proto libXext ]; propagatedBuildInputs = [ xlibs.libX11 ]; + + configureFlags = stdenv.lib.optional stdenv.isDarwin [ "--build=x86_64" ]; meta = { homepage = http://people.freedesktop.org/~aplattner/vdpau/;