about summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-24 11:08:07 +0100
committerSoispha <soispha@vhack.eu>2024-02-24 11:09:38 +0100
commiteca02160f79fc5c422d6c3ddda6462fe12b07477 (patch)
treeb3c8ee390838ca433cd6c5b8c5c7ece2e54147a4 /hm
parentfeat(hm/pkgs): Add `file` (diff)
downloadnixos-config-eca02160f79fc5c422d6c3ddda6462fe12b07477.zip
fix(hm/pkgs): Readd man pages for `mpc-cli`
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)
       ];
     };