mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
Revert "glib hooks: move gsettings-schemas if on wrong place"
This reverts commit 5df1aadd68
.
It introduced some problems.
This commit is contained in:
parent
043a8478c3
commit
92725618b2
|
@ -10,15 +10,8 @@ make_glib_find_gsettings_schemas() {
|
|||
|
||||
envHooks+=(make_glib_find_gsettings_schemas)
|
||||
|
||||
glibFixupPhase() {
|
||||
# Move gschemas in case the install flag didn't help
|
||||
if [ -d "$prefix/share/glib-2.0/schemas" ]; then
|
||||
mkdir -p "$prefix/share/gsettings-schemas/$name/glib-2.0"
|
||||
mv "$prefix/share/glib-2.0/schemas" "$prefix/share/gsettings-schemas/$name/glib-2.0/"
|
||||
fi
|
||||
|
||||
addToSearchPath GSETTINGS_SCHEMAS_PATH "$prefix/share/gsettings-schemas/$name"
|
||||
glibPreFixupPhase() {
|
||||
addToSearchPath GSETTINGS_SCHEMAS_PATH "$out/share/gsettings-schemas/$name"
|
||||
}
|
||||
|
||||
fixupOutputHooks+=(glibFixupPhase)
|
||||
|
||||
preFixupPhases="$preFixupPhases glibPreFixupPhase"
|
||||
|
|
Loading…
Reference in a new issue