mandoc: use symlinks for executables and man pages

Symlinks are quite heavily used in nixpkgs and easier to reason about
than hardlinks, so using them seems good for consistency.
main
sternenseemann 3 years ago
parent ad02b5c89e
commit c138683757
  1. 2
      pkgs/tools/misc/mandoc/default.nix

@ -36,6 +36,8 @@ stdenv.mkDerivation rec {
OSNAME="NixOS"
PREFIX="$out"
LD_OHASH="-lutil"
# Use symlinks instead of hardlinks (more commonly used in nixpkgs)
LN="ln -sf"
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:

Loading…
Cancel
Save