Skip to content

Commit

Permalink
#3076 nix: try building with cmake
Browse files Browse the repository at this point in the history
Signed-off-by: Patrizio Bekerle <[email protected]>
  • Loading branch information
pbek committed Aug 6, 2024
1 parent 064310b commit 08c1657
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib
, stdenv
, fetchurl
, qmake
, cmake
, qttools
, qtbase
, qtdeclarative
Expand All @@ -28,7 +28,7 @@ stdenv.mkDerivation {
src = builtins.path { path = ./src; name = "qownnotes"; };

nativeBuildInputs = [
qmake
cmake
qttools
wrapQtAppsHook
pkg-config
Expand All @@ -44,8 +44,8 @@ stdenv.mkDerivation {
botan2
] ++ lib.optionals stdenv.isLinux [ qtwayland ];

qmakeFlags = [
"USE_SYSTEM_BOTAN=1"
cmakeFlags = [
"-DUSE_SYSTEM_BOTAN=1"
];

postInstall = ''
Expand Down

0 comments on commit 08c1657

Please sign in to comment.