Merge pull request #235948: gnomeExtensions: compile schemas if present
This commit is contained in:
commit
03c5eb58a3
@ -36,7 +36,14 @@ let
|
|||||||
echo "${metadata}" | base64 --decode > $out/metadata.json
|
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 = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
mkdir -p $out/share/gnome-shell/extensions/
|
mkdir -p $out/share/gnome-shell/extensions/
|
||||||
|
Loading…
Reference in New Issue
Block a user