about summary refs log tree commit diff stats
path: root/pkgs/by-name/mp/mpc/package.nix
blob: d73c0523e0446ce96795b18452679b563495d9e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  sysLib,
  mpc-cli,
}:
sysLib.writeShellScript {
  name = "mpc";
  src = ./mpc.sh;
  generateCompletions = 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-cli
  ];
}