gnomeExtensions.gsconnect: fix typelibPath substitution (#363911)

This commit is contained in:
Doron Behar 2024-12-14 19:57:47 +02:00 committed by GitHub
commit 0b53eb4076
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,10 +78,8 @@ stdenv.mkDerivation rec {
# TODO: do not include every typelib everywhere
# for example, we definitely do not need nautilus
for file in src/extension.js src/prefs.js; do
substituteInPlace "$file" \
--subst-var-by typelibPath "$GI_TYPELIB_PATH"
done
substituteInPlace src/__nix-prepend-search-paths.js \
--subst-var-by typelibPath "$GI_TYPELIB_PATH"
# slightly janky fix for gsettings_schemadir being removed
substituteInPlace data/config.js.in \