Skip to content

Commit

Permalink
gnomeExtensions.gsconnect: fix typelibPath substitution (#363911)
Browse files Browse the repository at this point in the history
  • Loading branch information
doronbehar authored Dec 14, 2024
2 parents 343a6c4 + 7e373d7 commit 0b53eb4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkgs/desktops/gnome/extensions/gsconnect/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 0b53eb4

Please sign in to comment.