summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Mitasov <me@ch4og.com>2026-01-18 15:08:17 +0300
committerHilton Chain <hako@ultrarare.space>2026-02-10 10:46:25 +0800
commit8975975a1cc1898de7653f519e45a0fd67fed2c9 (patch)
tree5b1501d40c5c4df8256258334967336a14aad00c
parent4b9876de379087134bf2d3c4450e65cf4a4376ad (diff)
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 <hako@ultrarare.space>
-rw-r--r--nonguix/multiarch-container.scm7
1 files changed, 4 insertions, 3 deletions
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 <https://gitlab.com/nonguix/nonguix/-/issues/384>
(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))