mozillavpn: fix build with qt 6.4

This commit is contained in:
Nick Cao 2022-09-29 21:35:47 +08:00
parent f1b15aebd2
commit de795b62a7
No known key found for this signature in database

View file

@ -84,6 +84,9 @@ stdenv.mkDerivation {
substituteInPlace src/cmake/linux.cmake \
--replace '${"$"}{SYSTEMD_UNIT_DIR}' "$out/lib/systemd/system"
substituteInPlace src/connectionbenchmark/benchmarktaskdownload.cpp \
--replace 'QT_VERSION >= 0x060400' 'false'
ln -s '${netfilter-go-modules}' linux/netfilter/vendor
'';