about summary refs log tree commit diff
path: root/pkgs/development/libraries/hspell/dicts.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/hspell/dicts.nix')
-rw-r--r--pkgs/development/libraries/hspell/dicts.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/hspell/dicts.nix b/pkgs/development/libraries/hspell/dicts.nix
index a2ef479e3c45..a7f0d19865cf 100644
--- a/pkgs/development/libraries/hspell/dicts.nix
+++ b/pkgs/development/libraries/hspell/dicts.nix
@@ -5,8 +5,8 @@ let
     inherit (hspell) src patchPhase buildNativeInputs;
     meta = hspell.meta // {
       description = "${a.buildFlags} Hebrew dictionary";
-    } // a.meta;
-  } // (removeAttrs ["meta"] a));
+    } // (if a ? meta then a.meta else {});
+  } // (removeAttrs a ["meta"]));
 in
 {
   recurseForDerivations = true;