qownnotes: use system botan

This commit is contained in:
Patrizio Bekerle 2023-05-28 10:13:48 +02:00
parent 80264b939d
commit 14df2b8df8
No known key found for this signature in database
GPG key ID: 67EF441ECF195217

View file

@ -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 ''