https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
11 lines
349 B
Diff
11 lines
349 B
Diff
--- a/curseradio/curseradio.py
|
|
+++ b/curseradio/curseradio.py
|
|
@@ -30,7 +30,7 @@ import re
|
|
|
|
CONFIG_DEFAULT = {
|
|
'opml': {'root': "http://opml.radiotime.com/"},
|
|
- 'playback': {'command': '/usr/bin/mpv'},
|
|
+ 'playback': {'command': '@mpv@/bin/mpv'},
|
|
'interface': {'keymap': 'default'},
|
|
'keymap.default': {
|
|
'up': 'KEY_UP',
|