From 94370b149fa505c9aeb2c37996419fd7f91588d1 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 10 Aug 2024 14:47:00 +0200 Subject: fix(pkgs/mpc): Update the new music handling system --- pkgs/by-name/mp/mpc/package.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'pkgs/by-name/mp/mpc/package.nix') diff --git a/pkgs/by-name/mp/mpc/package.nix b/pkgs/by-name/mp/mpc/package.nix index 936aa990..d73c0523 100644 --- a/pkgs/by-name/mp/mpc/package.nix +++ b/pkgs/by-name/mp/mpc/package.nix @@ -1,17 +1,15 @@ { sysLib, - mpc-fav, - mpc-rm, mpc-cli, }: sysLib.writeShellScript { name = "mpc"; src = ./mpc.sh; generateCompletions = false; - keepPath = false; + # We source the wrappers from the environment, to ensure that they have the same + # configurations (e.g. MPD_MUSIC_DIR in `mpc-lyrics`) + keepPath = true; dependencies = [ - mpc-fav - mpc-rm mpc-cli ]; } -- cgit 1.4.1