pypy3 does not fucking work
This commit is contained in:
parent
fa3ed7f20f
commit
f2523eebd2
1 changed files with 2 additions and 4 deletions
|
@ -53,9 +53,7 @@ with pkgs; rec {
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = [plover];
|
propagatedBuildInputs = [plover];
|
||||||
};
|
};
|
||||||
regenpfeifer-env = pypy3.buildEnv.override {
|
regenpfeifer-env = python3.withPackages(ps: [ps.marisa-trie]);
|
||||||
extraLibs = with pkgs.pypy3Packages; [marisa-trie];
|
|
||||||
};
|
|
||||||
wortformliste = pkgs.stdenvNoCC.mkDerivation {
|
wortformliste = pkgs.stdenvNoCC.mkDerivation {
|
||||||
pname = "wortformliste";
|
pname = "wortformliste";
|
||||||
version = inputs.wortformliste.lastModifiedDate;
|
version = inputs.wortformliste.lastModifiedDate;
|
||||||
|
@ -70,7 +68,7 @@ with pkgs; rec {
|
||||||
src = inputs.regenpfeifer;
|
src = inputs.regenpfeifer;
|
||||||
nativeBuildInputs = [regenpfeifer-env];
|
nativeBuildInputs = [regenpfeifer-env];
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
pypy3 -m regenpfeifer.dictionary_generator ${wortformliste} $out unmatched.log 300000 300000
|
python3 -m regenpfeifer.dictionary_generator ${wortformliste} $out unmatched.log 300000 300000
|
||||||
'';
|
'';
|
||||||
installPhase = "cat unmatched.log";
|
installPhase = "cat unmatched.log";
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue