nvidia-x11: move wrapGAppsHook3 to nativeBuildInputs

This commit is contained in:
Sandro Jäckel 2024-06-07 00:56:10 +02:00
parent f70e746119
commit 068dda7325

View File

@ -114,11 +114,12 @@ stdenv.mkDerivation {
fi
'';
nativeBuildInputs = [ pkg-config m4 addOpenGLRunpath ];
nativeBuildInputs = [ pkg-config m4 addOpenGLRunpath ]
++ lib.optionals withGtk3 [ wrapGAppsHook3 ];
buildInputs = [ jansson libXv libXrandr libXext libXxf86vm libvdpau nvidia_x11 dbus ]
++ lib.optionals (withGtk2 || lib.versionOlder nvidia_x11.settingsVersion "525.53") [ gtk2 ]
++ lib.optionals withGtk3 [ gtk3 librsvg wrapGAppsHook3 ];
++ lib.optionals withGtk3 [ gtk3 librsvg ];
installFlags = [ "PREFIX=$(out)" ];