From 8975975a1cc1898de7653f519e45a0fd67fed2c9 Mon Sep 17 00:00:00 2001 From: Nikita Mitasov Date: Sun, 18 Jan 2026 15:08:17 +0300 Subject: nonguix: multiarch-container: Move GStreamer variables to an appropriate place. This is a follow-up to commit bdfb94ab580415925e0fe5ca41c66bc5744c2e58. * nonguix/multiarch-container.scm (make-container-wrapper): Move GStreamer paths environment variable to... * nonguix/multiarch-container.scm (make-internal-script): ...here. Signed-off-by: Hilton Chain --- nonguix/multiarch-container.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'nonguix') diff --git a/nonguix/multiarch-container.scm b/nonguix/multiarch-container.scm index ae9128d..96565f3 100644 --- a/nonguix/multiarch-container.scm +++ b/nonguix/multiarch-container.scm @@ -381,9 +381,6 @@ in a sandboxed FHS environment." ;; so set this path to where the drivers will actually be located in ;; the container. (setenv "LIBVA_DRIVERS_PATH" "/lib64/dri:/lib/dri") - ;; Set GStreamer plugin paths so both 64-bit and 32-bit plugins are visible - ;; inside the container. Needed for GStreamer plugins to load in container. - (setenv "GST_PLUGIN_SYSTEM_PATH" "/lib64/gstreamer-1.0:/lib/gstreamer-1.0") (format #t "\n* Launching ~a in sandbox: ~a.\n\n" #$(package-name (ngc-wrap-package container)) sandbox-home) (when DEBUG @@ -607,6 +604,10 @@ application." ;; See (setenv "SDL_JOYSTICK_DISABLE_UDEV" "1") + ;; Set GStreamer plugin paths so both 64-bit and 32-bit plugins are visible + ;; inside the container. Needed for GStreamer plugins to load in container. + (setenv "GST_PLUGIN_SYSTEM_PATH" "/lib64/gstreamer-1.0:/lib/gstreamer-1.0") + ;; Process FHS-specific command line options. (let* ((options (getopt-long (or fhs-args '("")) fhs-option-spec)) (asound32-opt (option-ref options 'asound32 #f)) -- cgit v1.2.3