diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-25 12:40:55 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-25 12:40:55 +0100 |
commit | 63540c9df85fddecd5a667399ccb0593e1648c49 (patch) | |
tree | 46eb8ca8643f3e112d426add1cc170d5a8d2ee49 | |
parent | 02522e4f7606dcce93f30c01f9c7ab21cb03165a (diff) |
libkkc-data: stay with python2
-rw-r--r-- | pkgs/data/misc/libkkc-data/default.nix | 6 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/data/misc/libkkc-data/default.nix b/pkgs/data/misc/libkkc-data/default.nix index 96130b2de5e11..7fcd2fbf516f9 100644 --- a/pkgs/data/misc/libkkc-data/default.nix +++ b/pkgs/data/misc/libkkc-data/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, marisa, libkkc }: +{ lib, stdenv, fetchurl, python2, libkkc }: stdenv.mkDerivation rec { pname = "libkkc-data"; @@ -9,7 +9,9 @@ stdenv.mkDerivation rec { sha256 = "16avb50jasq2f1n9xyziky39dhlnlad0991pisk3s11hl1aqfrwy"; }; - nativeBuildInputs = [ marisa ]; + nativeBuildInputs = [ python2.pkgs.marisa ]; + + strictDeps = true; meta = with lib; { description = "Language model data package for libkkc"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d28e1029dccd3..29fec580a19cb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3389,9 +3389,7 @@ in skktools = callPackage ../tools/inputmethods/skk/skktools { }; skk-dicts = callPackage ../tools/inputmethods/skk/skk-dicts { }; - libkkc-data = callPackage ../data/misc/libkkc-data { - inherit (pythonPackages) marisa; - }; + libkkc-data = callPackage ../data/misc/libkkc-data { }; libkkc = callPackage ../tools/inputmethods/libkkc { }; |