summary refs log tree commit diff
path: root/pkgs/desktops/gnome/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/gnome/extensions')
-rw-r--r--pkgs/desktops/gnome/extensions/buildGnomeExtension.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/desktops/gnome/extensions/buildGnomeExtension.nix b/pkgs/desktops/gnome/extensions/buildGnomeExtension.nix
index ca01c64217ae3..77b5339368503 100644
--- a/pkgs/desktops/gnome/extensions/buildGnomeExtension.nix
+++ b/pkgs/desktops/gnome/extensions/buildGnomeExtension.nix
@@ -36,7 +36,14 @@ let
         echo "${metadata}" | base64 --decode > $out/metadata.json
       '';
     };
-    dontBuild = true;
+    nativeBuildInputs = with pkgs; [ glib ];
+    buildPhase = ''
+      runHook preBuild
+      if [ -d schemas ]; then
+        glib-compile-schemas --strict schemas
+      fi
+      runHook postBuild
+    '';
     installPhase = ''
       runHook preInstall
       mkdir -p $out/share/gnome-shell/extensions/