nix: Revert "disable documentation on risc-v"

This reverts commit 95c77f3af9.

rustc now uses LLVM 17 which includes the bugfix this was blocked on.
This commit is contained in:
Francesco Gazzetta 2024-02-19 15:13:29 +01:00
parent 971fbfd00a
commit e9e2111b28

View file

@ -56,13 +56,7 @@ in
, util-linuxMinimal , util-linuxMinimal
, xz , xz
, enableDocumentation ? !atLeast24 || ( , enableDocumentation ? !atLeast24 || stdenv.hostPlatform == stdenv.buildPlatform
(stdenv.hostPlatform == stdenv.buildPlatform) &&
# mdbook errors out on risc-v due to a rustc bug
# https://github.com/NixOS/nixpkgs/pull/242019
# https://github.com/rust-lang/rust/issues/114473
!stdenv.buildPlatform.isRiscV
)
, enableStatic ? stdenv.hostPlatform.isStatic , enableStatic ? stdenv.hostPlatform.isStatic
, withAWS ? !enableStatic && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp , withAWS ? !enableStatic && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp
, withLibseccomp ? lib.meta.availableOn stdenv.hostPlatform libseccomp, libseccomp , withLibseccomp ? lib.meta.availableOn stdenv.hostPlatform libseccomp, libseccomp