Skip to content

Commit

Permalink
Revert "qtbase: Fix paths returned by qmake -query"
Browse files Browse the repository at this point in the history
  • Loading branch information
ttuegel committed Jul 26, 2019
1 parent 0f6bda3 commit 299e934
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions pkgs/development/libraries/qt-5/modules/qtbase.nix
Expand Up @@ -171,7 +171,7 @@ stdenv.mkDerivation {
NIX_OUTPUT_BIN = $bin
NIX_OUTPUT_DEV = $dev
NIX_OUTPUT_OUT = $out
NIX_OUTPUT_DOC = $out/$qtDocPrefix
NIX_OUTPUT_DOC = $dev/$qtDocPrefix
NIX_OUTPUT_QML = $bin/$qtQmlPrefix
NIX_OUTPUT_PLUGIN = $bin/$qtPluginPrefix
EOF
Expand Down Expand Up @@ -387,18 +387,6 @@ stdenv.mkDerivation {
moveToOutput bin "$dev"
''

# Fix paths returned by qmake -query
+ ''
cat > $dev/bin/qt.conf <<EOF
[Paths]
Prefix = $out
Headers = $dev/include
Plugins = $bin/$qtPluginPrefix
Documentation = $out/$qtDocPrefix
HostBinaries = $dev/bin
EOF
''

+ (
# fixup .pc file (where to find 'moc' etc.)
''
Expand Down

0 comments on commit 299e934

Please sign in to comment.