about summary refs log tree commit diff
path: root/pkgs/desktops/gnustep
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2023-06-25 12:25:42 +0200
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-06-25 11:01:34 -0300
commit6672dde558ea2bdbb1ff12009574e02a3dd758e3 (patch)
tree4d2eae2e923ef057389d2c5e03932c26782668f5 /pkgs/desktops/gnustep
parentfa6b5a3cb318d80d9c1da868c76271c3891e59a3 (diff)
treewide: use optionalAttrs instead of 'else {}'
Diffstat (limited to 'pkgs/desktops/gnustep')
-rw-r--r--pkgs/desktops/gnustep/make/gsmakeDerivation.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/desktops/gnustep/make/gsmakeDerivation.nix b/pkgs/desktops/gnustep/make/gsmakeDerivation.nix
index 11aa53b77b5ca..04cfcc1ca3433 100644
--- a/pkgs/desktops/gnustep/make/gsmakeDerivation.nix
+++ b/pkgs/desktops/gnustep/make/gsmakeDerivation.nix
@@ -15,5 +15,5 @@ stdenv.mkDerivation (args // {
 
     maintainers = with lib.maintainers; [ ashalkhakov matthewbauer ];
     platforms = lib.platforms.linux;
-  } // (if builtins.hasAttr "meta" args then args.meta else {});
+  } // (lib.optionalAttrs (builtins.hasAttr "meta" args) args.meta);
 })