Merge pull request #289967 from fgaz/nix/riscv-enable-docs

nix: Revert "disable documentation on risc-v"
This commit is contained in:
Maximilian Bosch 2024-02-24 16:36:39 +01:00 committed by GitHub
commit 047d6e0a2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,13 +56,7 @@ in
, util-linuxMinimal
, xz
, enableDocumentation ? !atLeast24 || (
(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
)
, enableDocumentation ? !atLeast24 || stdenv.hostPlatform == stdenv.buildPlatform
, enableStatic ? stdenv.hostPlatform.isStatic
, withAWS ? !enableStatic && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp
, withLibseccomp ? lib.meta.availableOn stdenv.hostPlatform libseccomp, libseccomp