about summary refs log tree commit diff stats
path: root/pkgs/by-name/mp/mpc/package.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-10 14:47:00 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-10 14:47:00 +0200
commit94370b149fa505c9aeb2c37996419fd7f91588d1 (patch)
treee8067c643797c2db346e38fd4653f91a3698420b /pkgs/by-name/mp/mpc/package.nix
parentfix(pkgs/lyrics): Make the music dir configurable (diff)
downloadnixos-config-94370b149fa505c9aeb2c37996419fd7f91588d1.zip
fix(pkgs/mpc): Update the new music handling system
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/mp/mpc/package.nix8
1 files changed, 3 insertions, 5 deletions
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
   ];
 }