mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
nix: disable documentation on risc-v
mdbook fails due to a rustc bug https://github.com/rust-lang/rust/issues/114473
This commit is contained in:
parent
f6dc216ee2
commit
95c77f3af9
@ -50,7 +50,13 @@ in
|
||||
, util-linuxMinimal
|
||||
, xz
|
||||
|
||||
, enableDocumentation ? !atLeast24 || stdenv.hostPlatform == stdenv.buildPlatform
|
||||
, 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
|
||||
)
|
||||
, enableStatic ? stdenv.hostPlatform.isStatic
|
||||
, withAWS ? !enableStatic && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp
|
||||
, withLibseccomp ? lib.meta.availableOn stdenv.hostPlatform libseccomp, libseccomp
|
||||
|
Loading…
Reference in New Issue
Block a user