about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hm/soispha/pkgs/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/hm/soispha/pkgs/default.nix b/hm/soispha/pkgs/default.nix
index e811ac37..4aa5a48c 100644
--- a/hm/soispha/pkgs/default.nix
+++ b/hm/soispha/pkgs/default.nix
@@ -6,6 +6,13 @@
   ...
 }:
 with pkgs; let
+  onlyShare = drv:
+    runCommand "${drv.name}-only-share" {} ''
+      mkdir -p $out
+      ln -s ${drv}/share $out/share
+    '';
+  mpc-cli-man = onlyShare mpc-cli;
+
   shell-scripts = (import ./scripts.nix) {inherit pkgs lib sysLib config;};
 
   Gui = {
@@ -89,7 +96,7 @@ with pkgs; let
       Listen = [
         pulseaudio # set the volume with pactl
         ncmpc # mpd player client
-        # mpc-cli # a cli mpd client (added via a wrapper script)
+        mpc-cli-man # a cli mpd client (added via a wrapper script)
       ];
     };