exa: fix on aarch64-darwin (#133660)

authored by

Jörg Thalheim and committed by
GitHub
6adca802 71ab3c29

+8 -3
+8 -3
pkgs/tools/misc/exa/default.nix
··· 18 18 19 19 cargoSha256 = "sha256-ah8IjShmivS6IWL3ku/4/j+WNr/LdUnh1YJnPdaFdcM="; 20 20 21 - nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ]; 21 + nativeBuildInputs = [ 22 + cmake pkg-config installShellFiles 23 + # ghc is not supported on aarch64-darwin yet. 24 + ] ++ lib.optional (stdenv.hostPlatform.system != "aarch64-darwin") pandoc; 25 + 22 26 buildInputs = [ zlib ] 23 27 ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; 24 28 25 - outputs = [ "out" "man" ]; 29 + outputs = [ "out" ] ++ lib.optional (stdenv.hostPlatform.system != "aarch64-darwin") "man"; 26 30 27 - postInstall = '' 31 + postInstall = lib.optionalString (stdenv.hostPlatform.system != "aarch64-darwin") '' 28 32 pandoc --standalone -f markdown -t man man/exa.1.md > man/exa.1 29 33 pandoc --standalone -f markdown -t man man/exa_colors.5.md > man/exa_colors.5 30 34 installManPage man/exa.1 man/exa_colors.5 35 + '' + '' 31 36 installShellCompletion \ 32 37 --name exa completions/completions.bash \ 33 38 --name exa.fish completions/completions.fish \