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]; 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";
}; };