about summary refs log tree commit diff
path: root/pkgs/applications/office/notes-up
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/office/notes-up')
-rw-r--r--pkgs/applications/office/notes-up/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/office/notes-up/default.nix b/pkgs/applications/office/notes-up/default.nix
index 6b8694a91d47..1d2e581f3c96 100644
--- a/pkgs/applications/office/notes-up/default.nix
+++ b/pkgs/applications/office/notes-up/default.nix
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
   ];
 
   # Whether to build with contractor support (Pantheon specific)
-  cmakeFlags = if withPantheon then null else [ "-Dnoele=yes" ];
+  cmakeFlags = stdenv.lib.optional (!withPantheon) "-Dnoele=yes";
 
   passthru = {
     updateScript = pantheon.updateScript {