forked from mirrors/nixpkgs
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
|
||||
'';
|
||||
};
|
||||
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/
|
||||
|
|
Loading…
Reference in a new issue