From d87a2481d2e7dc8d1a10397c8feb56af0854eaca Mon Sep 17 00:00:00 2001 From: Vladyslav Mykhailichenko Date: Sat, 3 Nov 2018 02:06:08 +0200 Subject: [PATCH] bat: fix build on darwin --- pkgs/tools/misc/bat/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/misc/bat/default.nix b/pkgs/tools/misc/bat/default.nix index 4bd4a02c7a2d..d449b3b82f92 100644 --- a/pkgs/tools/misc/bat/default.nix +++ b/pkgs/tools/misc/bat/default.nix @@ -20,6 +20,9 @@ rustPlatform.buildRustPackage rec { buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security libiconv ]; + # https://github.com/NixOS/nixpkgs/issues/49642 + doCheck = !stdenv.isDarwin; + postInstall = '' install -m 444 -Dt $out/share/man/man1 doc/bat.1