Loading pkgs/tools/text/opencc/default.nix +9 −4 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ fetchFromGitHub, cmake, python3, opencc, }: stdenv.mkDerivation rec { Loading @@ -17,9 +18,13 @@ stdenv.mkDerivation rec { sha256 = "sha256-N7nazA0xoQ2ewOGDiJg1vBBYMdF1/qiCfNjG5CFFbuk="; }; nativeBuildInputs = [ nativeBuildInputs = [ cmake python3 ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ opencc # opencc_dict ]; meta = with lib; { Loading Loading
pkgs/tools/text/opencc/default.nix +9 −4 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ fetchFromGitHub, cmake, python3, opencc, }: stdenv.mkDerivation rec { Loading @@ -17,9 +18,13 @@ stdenv.mkDerivation rec { sha256 = "sha256-N7nazA0xoQ2ewOGDiJg1vBBYMdF1/qiCfNjG5CFFbuk="; }; nativeBuildInputs = [ nativeBuildInputs = [ cmake python3 ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ opencc # opencc_dict ]; meta = with lib; { Loading