qownnotes: use system botan
This commit is contained in:
parent
80264b939d
commit
14df2b8df8
1 changed files with 8 additions and 0 deletions
|
@ -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 ''
|
||||
|
|
Loading…
Reference in a new issue