From 4f27b527b7e4188527b12d35df654326e8b96741 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 26 Jun 2023 20:05:02 +0300 Subject: [PATCH] qt6.full: unlink qmake6 --- pkgs/development/libraries/qt-6/qt-env.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/qt-6/qt-env.nix b/pkgs/development/libraries/qt-6/qt-env.nix index 0202783a9d8e..f0bf8721074f 100644 --- a/pkgs/development/libraries/qt-6/qt-env.nix +++ b/pkgs/development/libraries/qt-6/qt-env.nix @@ -8,8 +8,10 @@ buildEnv { extraOutputsToInstall = [ "out" "dev" ]; postBuild = '' - rm "$out/bin/qmake" - cp "${qtbase}/bin/qmake" "$out/bin" + for f in qmake qmake6; do + rm "$out/bin/$f" + cp "${qtbase}/bin/$f" "$out/bin" + done cat >"$out/bin/qt.conf" <