Skip to content

Commit

Permalink
qt-5/modules/qtbase.nix: omit --host and --build configureFlags
Browse files Browse the repository at this point in the history
QT's configure script doesn't understand these, so let's not pass them.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
  • Loading branch information
Adam Joseph and SuperSandro2000 committed Aug 17, 2023
1 parent 3432d09 commit 9480cc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/libraries/qt-5/modules/qtbase.nix
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ stdenv.mkDerivation (finalAttrs: {
# To prevent these failures, we need to override PostgreSQL detection.
PSQL_LIBS = lib.optionalString (postgresql != null) "-L${postgresql.lib}/lib -lpq";

# do not pass --host and --build to configureFlags as QT's configure script doesn't understand them
configurePlatforms = [ ];
# TODO Remove obsolete and useless flags once the build will be totally mastered
configureFlags = [
"-plugindir $(out)/$(qtPluginPrefix)"
Expand Down

0 comments on commit 9480cc2

Please sign in to comment.