Skip to content

Commit 0b53eb4

Browse files
authored
gnomeExtensions.gsconnect: fix typelibPath substitution (NixOS#363911)
2 parents 343a6c4 + 7e373d7 commit 0b53eb4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pkgs/desktops/gnome/extensions/gsconnect/default.nix

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,8 @@ stdenv.mkDerivation rec {
7878
7979
# TODO: do not include every typelib everywhere
8080
# for example, we definitely do not need nautilus
81-
for file in src/extension.js src/prefs.js; do
82-
substituteInPlace "$file" \
83-
--subst-var-by typelibPath "$GI_TYPELIB_PATH"
84-
done
81+
substituteInPlace src/__nix-prepend-search-paths.js \
82+
--subst-var-by typelibPath "$GI_TYPELIB_PATH"
8583
8684
# slightly janky fix for gsettings_schemadir being removed
8785
substituteInPlace data/config.js.in \

0 commit comments

Comments
 (0)