mirror of
https://github.com/pbek/QOwnNotes.git
synced 2025-06-29 13:29:52 +00:00
nix: use system botan
This commit is contained in:
parent
a55e7793fe
commit
ad5677bb15
1 changed files with 10 additions and 4 deletions
14
default.nix
14
default.nix
|
@ -39,10 +39,16 @@ stdenv.mkDerivation {
|
|||
botan2
|
||||
] ++ lib.optionals stdenv.isLinux [ qtwayland ];
|
||||
|
||||
# qmakeFlags = [
|
||||
# "QOwnNotes.pro"
|
||||
# "USE_SYSTEM_BOTAN=1"
|
||||
# ];
|
||||
postPatch = ''
|
||||
substituteInPlace ./libraries/botan/botan.pri \
|
||||
--replace "PKGCONFIG += botan-2" ""
|
||||
'';
|
||||
|
||||
qmakeFlags = [
|
||||
"USE_SYSTEM_BOTAN=1"
|
||||
"INCLUDEPATH+=${botan2}/include/botan-2"
|
||||
"LIBS+=${botan2}/lib/libbotan-2.so"
|
||||
];
|
||||
|
||||
postInstall =
|
||||
# Create a lowercase symlink for Linux
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue