From b7e91f096a46c5e3d3b699ff54bbb1b0bcd5e847 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 1 Jun 2018 22:02:16 +0200 Subject: 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. --- nixos/modules/services/computing/slurm/slurm.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nixos/modules/services/computing') 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 ''; }; -- cgit 1.4.1