Skip to content

Commit

Permalink
gnomeExtensions.gsconnect: fix typelibPath substitution
Browse files Browse the repository at this point in the history
Fixup for #269668. Fixes #363724.
  • Loading branch information
doronbehar committed Dec 10, 2024
1 parent 8064343 commit 7e373d7
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 7e373d7

Please sign in to comment.