nvidia_x11.settings: fix build

This commit is contained in:
Jan Malakhovski 2018-03-25 21:33:23 +00:00 committed by Nikolay Amiantov
parent 53af02b5bb
commit 8f6f69cb0f

@ -1,6 +1,6 @@
nvidia_x11: sha256: nvidia_x11: sha256:
{ stdenv, lib, fetchurl, pkgconfig, m4, jansson, gtk2, dbus, gtk3, libXv, libXrandr, libvdpau, libXext { stdenv, lib, fetchurl, pkgconfig, m4, jansson, gtk2, dbus, gtk3, libXv, libXrandr, libXext, libXxf86vm, libvdpau
, librsvg, wrapGAppsHook , librsvg, wrapGAppsHook
, withGtk2 ? false, withGtk3 ? true , withGtk2 ? false, withGtk3 ? true
}: }:
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig m4 ]; nativeBuildInputs = [ pkgconfig m4 ];
buildInputs = [ jansson libXv libXrandr libvdpau nvidia_x11 gtk2 dbus libXv ] buildInputs = [ jansson libXv libXrandr libXext libXxf86vm libvdpau nvidia_x11 gtk2 dbus ]
++ lib.optionals withGtk3 [ gtk3 librsvg wrapGAppsHook ]; ++ lib.optionals withGtk3 [ gtk3 librsvg wrapGAppsHook ];
makeFlags = [ "NV_USE_BUNDLED_LIBJANSSON=0" ]; makeFlags = [ "NV_USE_BUNDLED_LIBJANSSON=0" ];