Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

libvdpau: add -lX11 on darwin

Seems to be necessary for some reason. Otherwise we are missing
symbols.

+2
+2
pkgs/development/libraries/libvdpau/default.nix
··· 19 19 configureFlags = stdenv.lib.optional stdenv.isLinux 20 20 "--with-module-dir=${libGL_driver.driverLink}/lib/vdpau"; 21 21 22 + NIX_LDFLAGS = if stdenv.isDarwin then "-lX11" else null; 23 + 22 24 installFlags = [ "moduledir=$(out)/lib/vdpau" ]; 23 25 24 26 meta = with stdenv.lib; {