Merge pull request #11884 from Profpatsch/anki

anki: enable playing sound files
This commit is contained in:
Peter Simons 2015-12-22 20:49:52 +01:00
commit aefab61296

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/