summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/os-specific/linux/numactl/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/numactl/default.nix b/pkgs/os-specific/linux/numactl/default.nix
index 1d7f5103b667..f329db90cb20 100644
--- a/pkgs/os-specific/linux/numactl/default.nix
+++ b/pkgs/os-specific/linux/numactl/default.nix
@@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
     sed -i "Makefile" -es"|^ *prefix *:=.*$|prefix := $out|g"
   '';
 
+  preInstall = ''
+    # The `install' rule expects this directory to be available.
+    ensureDir "$out/share/man/man5"
+  '';
+
   meta = {
     description = "Library and tools for non-uniform memory access (NUMA) machines";
     license = [ "LGPLv2.1" # library