From 7e373d7a52617b8e353812e81afdc8f3d198bd9d Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Tue, 10 Dec 2024 15:05:04 +0200 Subject: [PATCH] gnomeExtensions.gsconnect: fix typelibPath substitution Fixup for #269668. Fixes #363724. --- pkgs/desktops/gnome/extensions/gsconnect/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 \