anki: enable playing sound files
This commit is contained in:
parent
e16d3d0d8a
commit
de12417ec7
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user