From b317fc17f00ea74fe2267950b3119dddddd78b09 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 16 Nov 2024 21:13:24 +0100 Subject: refactor(pkgs/mpc): Rename to `mpp` Nixpkgs has renamed their `mpc-cli` package to just `mpc`, turning this `mpc` package into an override for the official nixpkgs one. I think being explicit about the fact, that `mpc` is wrapped is the best solution here. --- modules/home.legacy/conf/beets/plugins/play/default.nix | 2 +- modules/home.legacy/conf/yambar/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/home.legacy/conf') diff --git a/modules/home.legacy/conf/beets/plugins/play/default.nix b/modules/home.legacy/conf/beets/plugins/play/default.nix index f5bc3c9b..635848c0 100644 --- a/modules/home.legacy/conf/beets/plugins/play/default.nix +++ b/modules/home.legacy/conf/beets/plugins/play/default.nix @@ -5,7 +5,7 @@ ... }: { programs.beets.settings.play = { - command = "${lib.getExe pkgs.mpc-cli} $args add"; + command = "${lib.getExe pkgs.mpc} $args add"; relative_to = config.services.mpd.musicDirectory; # Run the command with the returned paths as arguments diff --git a/modules/home.legacy/conf/yambar/default.nix b/modules/home.legacy/conf/yambar/default.nix index 007e7f25..72dcaa8e 100644 --- a/modules/home.legacy/conf/yambar/default.nix +++ b/modules/home.legacy/conf/yambar/default.nix @@ -29,7 +29,7 @@ in { else ""; mpd_song_name_script = makeScript { - dependencies = builtins.attrValues {inherit (pkgs) mpc-cli;}; + dependencies = builtins.attrValues {inherit (pkgs) mpc;}; name = "mpd_song_name"; }; -- cgit 1.4.1