mnemosyne: move generated locale files to correct location

It feels like a bit of a hack to move them after the install rather
than generating them in the correct spot in the first place, but this
fixes #12763.

authored by Laverne Schrock and committed by Franz Pletz f56fa482 e18bec1e

+5
+5
pkgs/games/mnemosyne/default.nix
··· 20 substituteInPlace setup.py --replace /usr $out 21 find . -type f -exec grep -H sys.exec_prefix {} ';' | cut -d: -f1 | xargs sed -i s,sys.exec_prefix,\"$out\", 22 ''; 23 meta = { 24 homepage = http://mnemosyne-proj.org/; 25 description = "Spaced-repetition software";
··· 20 substituteInPlace setup.py --replace /usr $out 21 find . -type f -exec grep -H sys.exec_prefix {} ';' | cut -d: -f1 | xargs sed -i s,sys.exec_prefix,\"$out\", 22 ''; 23 + postInstall = '' 24 + mkdir -p $out/share 25 + mv $out/lib/python2.7/site-packages/$out/share/locale $out/share 26 + rm -r $out/lib/python2.7/site-packages/nix 27 + ''; 28 meta = { 29 homepage = http://mnemosyne-proj.org/; 30 description = "Spaced-repetition software";