Skip to content

Commit

Permalink
qt6.qtbase: only detect if file exists
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank committed Jan 11, 2023
1 parent 62f85ee commit bdf7397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/qt-6/modules/qtbase.nix
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ stdenv.mkDerivation rec {
moveToOutput libexec "$dev"
# fixup .pc file (where to find 'moc' etc.)
if [ -d "$dev/lib/pkgconfig" ]; then
if [ -f "$dev/lib/pkgconfig/Qt6Core.pc" ]; then
sed -i "$dev/lib/pkgconfig/Qt6Core.pc" \
-e "/^bindir=/ c bindir=$dev/bin"
fi
Expand Down

0 comments on commit bdf7397

Please sign in to comment.