Merge pull request #11884 from Profpatsch/anki
anki: enable playing sound files
This commit is contained in:
commit
aefab61296
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue