mirror of
https://github.com/pbek/QOwnNotes.git
synced 2025-06-28 12:59:52 +00:00
#3296 libgit2: add library and build flag to nix build chain
Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
This commit is contained in:
parent
dc29b55460
commit
bbbceba180
3 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
makeWrapper,
|
||||
wrapQtAppsHook,
|
||||
botan3,
|
||||
libgit2,
|
||||
pkg-config,
|
||||
xvfb-run,
|
||||
installShellFiles,
|
||||
|
@ -50,11 +51,13 @@ stdenv.mkDerivation {
|
|||
qtwebsockets
|
||||
qtx11extras
|
||||
botan3
|
||||
libgit2
|
||||
] ++ lib.optionals stdenv.isLinux [ qtwayland ];
|
||||
|
||||
cmakeFlags = [
|
||||
# "-DQON_QT6_BUILD=ON"
|
||||
"-DBUILD_WITH_SYSTEM_BOTAN=ON"
|
||||
"-DBUILD_WITH_LIBGIT2=ON"
|
||||
];
|
||||
|
||||
postInstall =
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
makeWrapper,
|
||||
wrapQtAppsHook,
|
||||
botan3,
|
||||
libgit2,
|
||||
pkg-config,
|
||||
xvfb-run,
|
||||
installShellFiles,
|
||||
|
@ -48,11 +49,13 @@ stdenv.mkDerivation {
|
|||
qtsvg
|
||||
qtwebsockets
|
||||
botan3
|
||||
libgit2
|
||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [ qtwayland ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DQON_QT6_BUILD=ON"
|
||||
"-DBUILD_WITH_SYSTEM_BOTAN=ON"
|
||||
"-DBUILD_WITH_LIBGIT2=ON"
|
||||
];
|
||||
|
||||
# Install shell completion on Linux (with xvfb-run)
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
qtdeclarative
|
||||
qtsvg
|
||||
botan3
|
||||
libgit2
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue