summary refs log tree commit diff
path: root/pkgs/development/libraries/hspell
diff options
context:
space:
mode:
authorMerijn Broeren <merijnb@iloquent.com>2019-10-27 13:03:25 +0000
committerJan Tojnar <jtojnar@gmail.com>2019-12-30 12:58:11 +0100
commit133103d7094c148bdc9152562b16c8872c44f345 (patch)
tree2ccef8bd86eff2104561da4eccdd41dd6776950b /pkgs/development/libraries/hspell
parent08d5fc393457121b531417ee6c922e3ebee0187c (diff)
downloadnixpkgs-133103d7094c148bdc9152562b16c8872c44f345.tar
nixpkgs-133103d7094c148bdc9152562b16c8872c44f345.tar.gz
nixpkgs-133103d7094c148bdc9152562b16c8872c44f345.tar.bz2
nixpkgs-133103d7094c148bdc9152562b16c8872c44f345.tar.lz
nixpkgs-133103d7094c148bdc9152562b16c8872c44f345.tar.xz
nixpkgs-133103d7094c148bdc9152562b16c8872c44f345.tar.zst
nixpkgs-133103d7094c148bdc9152562b16c8872c44f345.zip
treewide: replace make/build/configure/patchFlags with nix lists
Diffstat (limited to 'pkgs/development/libraries/hspell')
-rw-r--r--pkgs/development/libraries/hspell/dicts.nix19
1 files changed, 8 insertions, 11 deletions
diff --git a/pkgs/development/libraries/hspell/dicts.nix b/pkgs/development/libraries/hspell/dicts.nix
index ec6b304dc3c..637a11efaef 100644
--- a/pkgs/development/libraries/hspell/dicts.nix
+++ b/pkgs/development/libraries/hspell/dicts.nix
@@ -1,42 +1,39 @@
 { stdenv, hspell }:
 
 let
-  dict = a: stdenv.mkDerivation ({
+  dict = variant: a: stdenv.mkDerivation ({
     inherit (hspell) src patchPhase nativeBuildInputs;
     meta = hspell.meta // {
       broken = true;
-      description = "${a.buildFlags} Hebrew dictionary";
+      description = "${variant} Hebrew dictionary";
+
+      buildFlags = [ variant ];
+
     } // (if a ? meta then a.meta else {});
   } // (removeAttrs a ["meta"]));
 in
 {
   recurseForDerivations = true;
 
-  aspell = dict {
+  aspell = dict "aspell" {
     name = "aspell-dict-he-${hspell.version}";
 
-    buildFlags = "aspell";
-
     installPhase = ''
       mkdir -p $out/lib/aspell
       cp -v he_affix.dat he.wl $out/lib/aspell'';
   };
 
-  myspell = dict {
+  myspell = dict "myspell" {
     name = "myspell-dict-he-${hspell.version}";
 
-    buildFlags = "myspell";
-
     installPhase = ''
       mkdir -p $out/lib/myspell
       cp -v he.dic he.aff $out/lib/myspell'';
   };
 
-  hunspell = dict {
+  hunspell = dict "hunspell" {
     name = "hunspell-dict-he-${hspell.version}";
 
-    buildFlags = "hunspell";
-
     installPhase = ''
       mkdir -p $out/lib
       cp -rv hunspell $out/lib'';