summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 4d73bfc..a5e7874 100644
--- a/flake.nix
+++ b/flake.nix
@@ -47,6 +47,8 @@
           nativeBuildInputs = with pkgs; [
             pkg-config
             rustPlatform.bindgenHook
+            wrapGAppsHook4
+            glib
           ];
 
           buildInputs = with pkgs; [
@@ -62,6 +64,11 @@
             gst_all_1.gst-vaapi
             ffmpeg_7-full.dev
           ];
+
+          postInstall = ''
+            install -D -m444 -t $out/share/glib-2.0/schemas data/*.gschema.xml
+            glib-compile-schemas $out/share/glib-2.0/schemas
+          '';
         };
 
         devShell = pkgs.mkShell {