diff options
author | Felix Bühler <Stunkymonkey@users.noreply.github.com> | 2023-07-22 13:02:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-22 13:02:47 +0200 |
commit | 0a2745684e8e97340d947d56b0ba778056c10395 (patch) | |
tree | c258179185eefafddef480949e84046d3bb50b2e /pkgs/applications/office/libreoffice | |
parent | 4448ec5cd84f00350969934deb4d9ac9055c411c (diff) | |
parent | e770737241360cdfd09b421eea83160dce02c212 (diff) |
Merge pull request #239624 from Stunkymonkey/use-optionalString-then
treewide: use optionalString instead of 'then ""'
Diffstat (limited to 'pkgs/applications/office/libreoffice')
-rw-r--r-- | pkgs/applications/office/libreoffice/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/office/libreoffice/default.nix b/pkgs/applications/office/libreoffice/default.nix index 25e8f18998e2e..518167cb33d12 100644 --- a/pkgs/applications/office/libreoffice/default.nix +++ b/pkgs/applications/office/libreoffice/default.nix @@ -395,7 +395,7 @@ in dontWrapQtApps = true; configureFlags = [ - (if withHelp then "" else "--without-help") + (lib.optionalString (!withHelp) "--without-help") "--with-boost=${getDev boost}" "--with-boost-libdir=${getLib boost}/lib" "--with-beanshell-jar=${bsh}" |