Skip to content

Commit dbb5fe1

Browse files
committed
tlg-wotd: work around until cltk works with 3.12
NixOS/nixpkgs#353367
1 parent 89cd81b commit dbb5fe1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

configs/bots/tlg-wotd.nix

+3-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ in {
4242
4343
#ancientgreek #classics #wotd #wordoftheday
4444
45-
transliteration=$(${pkgs.writers.writePython3 "translit.py" {
46-
libraries = [ niveumPackages.cltk ];
45+
transliteration=$(${pkgs.writers.makePythonWriter pkgs.python311 pkgs.python311Packages pkgs.python3Packages "translit.py" {
46+
# revert to pkgs.writers.writePython3 once https://github.com/NixOS/nixpkgs/pull/353367 is merged
47+
libraries = [ pkgs.python311Packages.cltk ];
4748
} ''
4849
import sys
4950
from cltk.phonology.grc.transcription import Transcriber

0 commit comments

Comments
 (0)