diff options
Diffstat (limited to 'pkgs/tools/misc/mandoc/default.nix')
-rw-r--r-- | pkgs/tools/misc/mandoc/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/misc/mandoc/default.nix b/pkgs/tools/misc/mandoc/default.nix index 2d974b8af63dd..292a28bf313f5 100644 --- a/pkgs/tools/misc/mandoc/default.nix +++ b/pkgs/tools/misc/mandoc/default.nix @@ -5,7 +5,11 @@ let # even though the platforms aren't the same. mandoc can't be cross compiled # (easily) because of its configurePhase, but we want to allow “native” cross # such as pkgsLLVM and pkgsStatic. - executableCross = stdenv.hostPlatform.isCompatible stdenv.buildPlatform; + # For a lack of a better predicate at the moment, we compare the platforms' + # system tuples. See also: + # * https://github.com/NixOS/nixpkgs/pull/140271 + # * https://github.com/NixOS/nixpkgs/issues/61414 + executableCross = stdenv.buildPlatform.system == stdenv.hostPlatform.system; # Name of an UTF-8 locale _always_ present at runtime, used for UTF-8 support # (locale set by the user may differ). This would usually be C.UTF-8, but |