exa: re-enable documentation build on aarch64-darwin
ghc builds now on aarch64-darwin
Revert "exa: fix on aarch64-darwin (#133660)"
This reverts commit 6adca8026c
.
This commit is contained in:
parent
00f361a846
commit
23ab07cc24
@ -18,21 +18,16 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "sha256-ah8IjShmivS6IWL3ku/4/j+WNr/LdUnh1YJnPdaFdcM=";
|
cargoSha256 = "sha256-ah8IjShmivS6IWL3ku/4/j+WNr/LdUnh1YJnPdaFdcM=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ];
|
||||||
cmake pkg-config installShellFiles
|
|
||||||
# ghc is not supported on aarch64-darwin yet.
|
|
||||||
] ++ lib.optional (stdenv.hostPlatform.system != "aarch64-darwin") pandoc;
|
|
||||||
|
|
||||||
buildInputs = [ zlib ]
|
buildInputs = [ zlib ]
|
||||||
++ lib.optionals stdenv.isDarwin [ libiconv Security ];
|
++ lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||||
|
|
||||||
outputs = [ "out" ] ++ lib.optional (stdenv.hostPlatform.system != "aarch64-darwin") "man";
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
postInstall = lib.optionalString (stdenv.hostPlatform.system != "aarch64-darwin") ''
|
postInstall = ''
|
||||||
pandoc --standalone -f markdown -t man man/exa.1.md > man/exa.1
|
pandoc --standalone -f markdown -t man man/exa.1.md > man/exa.1
|
||||||
pandoc --standalone -f markdown -t man man/exa_colors.5.md > man/exa_colors.5
|
pandoc --standalone -f markdown -t man man/exa_colors.5.md > man/exa_colors.5
|
||||||
installManPage man/exa.1 man/exa_colors.5
|
installManPage man/exa.1 man/exa_colors.5
|
||||||
'' + ''
|
|
||||||
installShellCompletion \
|
installShellCompletion \
|
||||||
--name exa completions/completions.bash \
|
--name exa completions/completions.bash \
|
||||||
--name exa.fish completions/completions.fish \
|
--name exa.fish completions/completions.fish \
|
||||||
|
Loading…
Reference in New Issue
Block a user