Merge pull request #234220 from pbek/feature/qownnotes-system-botan

qownnotes: use system botan
This commit is contained in:
Weijia Wang
2023-05-29 00:52:09 +03:00
committed by GitHub
@@ -11,6 +11,8 @@
, qt5compat
, makeWrapper
, wrapQtAppsHook
, botan2
, pkg-config
}:
let
@@ -30,6 +32,7 @@ stdenv.mkDerivation {
qmake
qttools
wrapQtAppsHook
pkg-config
] ++ lib.optionals stdenv.isDarwin [ makeWrapper ];
buildInputs = [
@@ -38,8 +41,13 @@ stdenv.mkDerivation {
qtsvg
qtwebsockets
qt5compat
botan2
] ++ lib.optionals stdenv.isLinux [ qtwayland ];
qmakeFlags = [
"USE_SYSTEM_BOTAN=1"
];
postInstall =
# Create a lowercase symlink for Linux
lib.optionalString stdenv.isLinux ''