diff --git a/pkgs/applications/gpxsee/default.nix b/pkgs/applications/gpxsee/default.nix
index 44583b33b45463c933358c772ce77439f08695f1..83d06e4157f417e4af2e53d6691bf450aafbc911 100644
--- a/pkgs/applications/gpxsee/default.nix
+++ b/pkgs/applications/gpxsee/default.nix
@@ -14,11 +14,21 @@ pname = "gpxsee";
version = lib.substring 0 7 src.rev;
src = sources.gpxsee;
nativeBuildInputs = [ qmake ] ++ (lib.optional withI18n qttools);
buildInputs = [ qtbase ];
--subst-var-by qttranslations ${qttranslations}
preConfigure = lib.optionalString withI18n ''
'';
postInstall = lib.optionalString stdenv.isDarwin ''
diff --git a/pkgs/applications/gpxsee/fix-qttranslations-path.diff b/pkgs/applications/gpxsee/fix-qttranslations-path.diff
new file mode 100644
index 0000000000000000000000000000000000000000..63e98fd887d99a45de2a1345ca9ab3c2389b8dad
--- /dev/null
+++ b/pkgs/applications/gpxsee/fix-qttranslations-path.diff
@@ -0,0 +1,14 @@
+diff --git i/src/GUI/app.cpp w/src/GUI/app.cpp
+index 10e84d5..ac9059b 100644
+--- i/src/GUI/app.cpp
++++ w/src/GUI/app.cpp
+@@ -37,8 +37,7 @@ App::App(int &argc, char **argv) : QApplication(argc, argv)
+- qt->load(QLocale::system(), "qt", "_", QLibraryInfo::location(
+- QLibraryInfo::TranslationsPath));
++ qt->load(QLocale::system(), "qt", "_", "@qttranslations@/translations");
application/octet-stream
This content has been proxied by September (3851b).