qt6: set "moveToDev" to false

The qt build system locates header files, libraries and other installed
components with paths relative to the cmake files. Thus the default
behavior of moving them to the "dev" output breaks these expectations
and is now disabled.
This commit is contained in:
Nick Cao 2023-04-12 09:55:29 +08:00
parent 21a773c671
commit 97a538791c
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View file

@ -259,6 +259,8 @@ stdenv.mkDerivation rec {
"bin/uic"
];
moveToDev = false;
postFixup = ''
moveToOutput "mkspecs" "$dev"
moveToOutput "modules" "$dev"

View file

@ -26,6 +26,8 @@ stdenv.mkDerivation (args // {
nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ cmake ninja perl ];
propagatedBuildInputs = args.qtInputs ++ (args.propagatedBuildInputs or [ ]);
moveToDev = false;
outputs = args.outputs or [ "out" "dev" ];
dontWrapQtApps = args.dontWrapQtApps or true;