pypy3 does not fucking work

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-17 15:02:44 +01:00
parent fa3ed7f20f
commit f2523eebd2
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -53,9 +53,7 @@ with pkgs; rec {
};
propagatedBuildInputs = [plover];
};
regenpfeifer-env = pypy3.buildEnv.override {
extraLibs = with pkgs.pypy3Packages; [marisa-trie];
};
regenpfeifer-env = python3.withPackages(ps: [ps.marisa-trie]);
wortformliste = pkgs.stdenvNoCC.mkDerivation {
pname = "wortformliste";
version = inputs.wortformliste.lastModifiedDate;
@ -70,7 +68,7 @@ with pkgs; rec {
src = inputs.regenpfeifer;
nativeBuildInputs = [regenpfeifer-env];
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";
};