#3296 libgit2: add library and build flag to nix build chain

Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
This commit is contained in:
Patrizio Bekerle 2025-06-22 19:35:44 +02:00
parent dc29b55460
commit bbbceba180
No known key found for this signature in database
GPG key ID: 75960E6926556207
3 changed files with 7 additions and 0 deletions

View file

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

View file

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

View file

@ -61,6 +61,7 @@
qtdeclarative
qtsvg
botan3
libgit2
];
shellHook = ''