diff options
Diffstat (limited to '')
-rw-r--r-- | pkgs/by-name/ly/lyrics/package.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/by-name/ly/lyrics/package.nix b/pkgs/by-name/ly/lyrics/package.nix index 041eed96..d83057ce 100644 --- a/pkgs/by-name/ly/lyrics/package.nix +++ b/pkgs/by-name/ly/lyrics/package.nix @@ -5,12 +5,18 @@ jq, less, locale, # dependency of less + mpd_music_dir ? "\${XDG_MUSIC_DIR}", }: sysLib.writeShellScript { name = "lyrics"; src = ./lyrics.sh; generateCompletions = false; keepPath = false; + + replacementStrings = { + MPD_MUSIC_DIR = mpd_music_dir; + }; + dependencies = [ exiftool mpc-cli |