mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 04:25:14 +00:00
qt6.qttools: fix embedded path to tools
This commit is contained in:
parent
37e3fafb41
commit
e5ba8e7113
@ -15,7 +15,7 @@ qtModule {
|
||||
../patches/qttools-paths.patch
|
||||
];
|
||||
env.NIX_CFLAGS_COMPILE = toString [
|
||||
"-DNIX_OUTPUT_DEV=\"${placeholder "dev"}\""
|
||||
"-DNIX_OUTPUT_OUT=\"${placeholder "out"}\""
|
||||
];
|
||||
|
||||
devTools = [
|
||||
|
@ -10,9 +10,9 @@ index d355b9dc..94fef33f 100644
|
||||
+{
|
||||
+ switch (location) {
|
||||
+ case QLibraryInfo::BinariesPath:
|
||||
+ return QLatin1String(NIX_OUTPUT_DEV) + QLatin1String("/bin");
|
||||
+ return QLatin1String(NIX_OUTPUT_OUT) + QLatin1String("/bin");
|
||||
+ case QLibraryInfo::LibraryExecutablesPath:
|
||||
+ return QLatin1String(NIX_OUTPUT_DEV) + QLatin1String("/libexec");
|
||||
+ return QLatin1String(NIX_OUTPUT_OUT) + QLatin1String("/libexec");
|
||||
+ default:
|
||||
+ return QLibraryInfo::path(location);
|
||||
+ }
|
||||
|
Loading…
Reference in New Issue
Block a user