diff options
author | Profpatsch <mail@profpatsch.de> | 2015-12-22 20:31:34 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2015-12-22 20:34:00 +0100 |
commit | de12417ec718af4b914f544f65a15591479d82a4 (patch) | |
tree | f8ef8cd54345dfee77448250e3e5808147ef0115 /pkgs/games/anki | |
parent | e16d3d0d8ac896f0afa7636f24935fcf31d7553e (diff) |
anki: enable playing sound files
Diffstat (limited to 'pkgs/games/anki')
-rw-r--r-- | pkgs/games/anki/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index 735d260560d4..f99a8ddb4a83 100644 --- a/pkgs/games/anki/default.nix +++ b/pkgs/games/anki/default.nix @@ -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/ |