From c138683757201c58a2de1106af7392cc09402493 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Mon, 20 Sep 2021 14:46:22 +0200 Subject: 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. --- pkgs/tools/misc/mandoc/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/tools/misc/mandoc/default.nix') diff --git a/pkgs/tools/misc/mandoc/default.nix b/pkgs/tools/misc/mandoc/default.nix index 59e008c78faf5..8e8d1dd334d6d 100644 --- a/pkgs/tools/misc/mandoc/default.nix +++ b/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: -- cgit 1.4.1