Skip to content

Commit

Permalink
Merge pull request #242019 from fgaz/nix/riscv-no-docs
Browse files Browse the repository at this point in the history
nix: disable documentation on risc-v
  • Loading branch information
fgaz authored Aug 9, 2023
2 parents e78b7e7 + 95c77f3 commit e9297c8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/tools/package-management/nix/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9297c8

Please sign in to comment.