diff --git a/pkgs/desktops/gnome/extensions/gsconnect/default.nix b/pkgs/desktops/gnome/extensions/gsconnect/default.nix index eae7d0db0b7e2..c4db5afa57716 100644 --- a/pkgs/desktops/gnome/extensions/gsconnect/default.nix +++ b/pkgs/desktops/gnome/extensions/gsconnect/default.nix @@ -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 \