depot/third_party/nixpkgs/pkgs/applications/misc/huggle/01-extensions.patch
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

13 lines
782 B
Diff

diff --git a/src/huggle_core/definitions_prod.hpp b/src/huggle_core/definitions_prod.hpp
index 1fc5b1fb..17881ade 100644
--- a/src/huggle_core/definitions_prod.hpp
+++ b/src/huggle_core/definitions_prod.hpp
@@ -216,7 +216,7 @@ namespace std { typedef decltype(nullptr) nullptr_t; }
#define HUGGLE_GLOBAL_EXTENSION_PATH QCoreApplication::applicationDirPath() + "/extensions"
#elif defined __linux__
#define HUGGLE_UPDATER_PLATFORM_TYPE "linux"
- #define HUGGLE_GLOBAL_EXTENSION_PATH "/usr/local/share/huggle/extensions"
+ #define HUGGLE_GLOBAL_EXTENSION_PATH "@out@/share/huggle/extensions"
#elif defined HUGGLE_WIN
// This is needed by yaml cpp library, otherwise it won't build with MSVC
#define YAML_CPP_DLL