qtpass: fix build with Darwin sandbox enabled

Co-authored-by: toonn <toonn@toonn.io>
This commit is contained in:
Randy Eckenrode 2023-05-24 17:00:11 -04:00
parent 9065884299
commit d014e56db4
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

View File

@ -34,6 +34,9 @@ mkDerivation rec {
})
];
# HACK `propagatedSandboxProfile` does not appear to actually propagate the sandbox profile from `qt5.qtbase`
sandboxProfile = toString qtbase.__propagatedSandboxProfile;
qmakeFlags = [
# setup hook only sets QMAKE_LRELEASE, set QMAKE_LUPDATE too:
"QMAKE_LUPDATE=${qttools.dev}/bin/lupdate"