summary refs log tree commit diff
path: root/pkgs/tools/misc/mandoc
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2021-09-20 16:09:39 +0200
committersternenseemann <sternenseemann@systemli.org>2021-09-23 21:24:10 +0200
commit03480209d911b38ba1635bbfacbdc20e89de0985 (patch)
tree8fe37515dad9d6d4555eedf046647b443af3186e /pkgs/tools/misc/mandoc
parentc138683757201c58a2de1106af7392cc09402493 (diff)
downloadnixpkgs-03480209d911b38ba1635bbfacbdc20e89de0985.tar
nixpkgs-03480209d911b38ba1635bbfacbdc20e89de0985.tar.gz
nixpkgs-03480209d911b38ba1635bbfacbdc20e89de0985.tar.bz2
nixpkgs-03480209d911b38ba1635bbfacbdc20e89de0985.tar.lz
nixpkgs-03480209d911b38ba1635bbfacbdc20e89de0985.tar.xz
nixpkgs-03480209d911b38ba1635bbfacbdc20e89de0985.tar.zst
nixpkgs-03480209d911b38ba1635bbfacbdc20e89de0985.zip
mandoc: set SBINDIR instead of relying on fixupPhase
Diffstat (limited to 'pkgs/tools/misc/mandoc')
-rw-r--r--pkgs/tools/misc/mandoc/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/misc/mandoc/default.nix b/pkgs/tools/misc/mandoc/default.nix
index 8e8d1dd334d..db0789c1126 100644
--- a/pkgs/tools/misc/mandoc/default.nix
+++ b/pkgs/tools/misc/mandoc/default.nix
@@ -38,6 +38,8 @@ stdenv.mkDerivation rec {
     LD_OHASH="-lutil"
     # Use symlinks instead of hardlinks (more commonly used in nixpkgs)
     LN="ln -sf"
+    # nixpkgs doesn't have sbin, install makewhatis to bin
+    SBINDIR="$PREFIX/bin"
     CC=${stdenv.cc.targetPrefix}cc
     AR=${stdenv.cc.bintools.targetPrefix}ar
     # Bypass the locale(1)-based check for UTF-8 support since it causes trouble: