x11-drivers/nvidia-drivers: move python before the modules block

Kind of forgot that this whole block was guarded and put it next to
conditional linux-mod-r1 setup without thinking when it should always
be called.

Thanks-to: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-10-20 11:52:46 -04:00
parent a9da6ca63c
commit 36424222d3
@@ -111,6 +111,8 @@ PATCHES=(
)
pkg_setup() {
python-single-r1_pkg_setup
use modules && [[ ${MERGE_TYPE} != binary ]] || return
# do early before linux-mod-r1 so can use chkconfig to setup CONFIG_CHECK
@@ -151,7 +153,6 @@ pkg_setup() {
ignoring this."
linux-mod-r1_pkg_setup
python-single-r1_pkg_setup
}
src_prepare() {