bat: fix build on darwin

This commit is contained in:
Vladyslav Mykhailichenko 2018-11-03 02:06:08 +02:00
parent f9bf6cef54
commit d87a2481d2
No known key found for this signature in database
GPG Key ID: BE743C5DD7703515

View File

@ -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