summary refs log tree commit diff
diff options
context:
space:
mode:
authorMalte Voos <git@mal.tc>2025-10-04 16:55:02 +0200
committerMalte Voos <git@mal.tc>2025-10-04 16:55:02 +0200
commit8aa48d67b0908b62d012b589df9b35f2f8551968 (patch)
tree3469a6622b57403d1982294d2c59cb0f52266f30
parent338babaad2189f7ff1ee088994c8c20a0646ff4d (diff)
downloadlleap-8aa48d67b0908b62d012b589df9b35f2f8551968.tar.gz
lleap-8aa48d67b0908b62d012b589df9b35f2f8551968.zip
fix GStreamer TLS error by setting GIO_MODULE_DIR env variable
-rw-r--r--flake.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 18cb4b5..4d73bfc 100644
--- a/flake.nix
+++ b/flake.nix
@@ -70,6 +70,11 @@
             fenix'.rust-analyzer
             rustPlatform.bindgenHook
           ];
+
+          # this fixes tls-related gstreamer error when playing https streams
+          shellHook = ''
+            export GIO_MODULE_DIR=${pkgs.glib-networking}/lib/gio/modules/
+          '';
         };
       }
     );