summary refs log tree commit diff
path: root/nixos/modules/services/computing
diff options
context:
space:
mode:
authorMarkus Kowalewski <markus.kowalewski@gmail.com>2018-06-01 22:02:16 +0200
committerMarkus Kowalewski <markus.kowalewski@gmail.com>2018-06-02 00:18:28 +0200
commitb7e91f096a46c5e3d3b699ff54bbb1b0bcd5e847 (patch)
tree804a6efaacbbb4564970651dd6de105e4994292f /nixos/modules/services/computing
parent995d2ec92889bf6c4fb9c5a742ac5e96cee0e677 (diff)
downloadnixlib-b7e91f096a46c5e3d3b699ff54bbb1b0bcd5e847.tar
nixlib-b7e91f096a46c5e3d3b699ff54bbb1b0bcd5e847.tar.gz
nixlib-b7e91f096a46c5e3d3b699ff54bbb1b0bcd5e847.tar.bz2
nixlib-b7e91f096a46c5e3d3b699ff54bbb1b0bcd5e847.tar.lz
nixlib-b7e91f096a46c5e3d3b699ff54bbb1b0bcd5e847.tar.xz
nixlib-b7e91f096a46c5e3d3b699ff54bbb1b0bcd5e847.tar.zst
nixlib-b7e91f096a46c5e3d3b699ff54bbb1b0bcd5e847.zip
nixos/slurm: Add man pages to wrapedSlurm
The nixos module adds a new derivation to
systemPackages to make sure that the binaries
get the generated config file. This derivation
did not contain the man pages so far.
Activating the module now makes the man pages
available in the system environment.
Diffstat (limited to 'nixos/modules/services/computing')
-rw-r--r--nixos/modules/services/computing/slurm/slurm.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/computing/slurm/slurm.nix b/nixos/modules/services/computing/slurm/slurm.nix
index 82cf429936ea..02c0aabe0a74 100644
--- a/nixos/modules/services/computing/slurm/slurm.nix
+++ b/nixos/modules/services/computing/slurm/slurm.nix
@@ -204,6 +204,9 @@ in
           EOT
             chmod +x "$wrappername"
           done
+
+          mkdir -p $out/share
+          ln -s ${getBin cfg.package}/share/man $out/share/man
         '';
       };