anki: enable playing sound files

This commit is contained in:
Profpatsch 2015-12-22 20:31:34 +01:00
parent e16d3d0d8a
commit de12417ec7

View file

@ -23,6 +23,10 @@ stdenv.mkDerivation rec {
buildInputs = [ python py.wrapPython lame mplayer libpulseaudio ];
patchPhase = ''
substituteInPlace anki/sound.py --replace '["mplayer"]' '["${mplayer}/bin/mplayer"]'
'';
preConfigure = ''
substituteInPlace anki/anki \
--replace /usr/share/ $out/share/