mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 00:32:28 +00:00
Do not build docs in cross devShell
Coppied from the main build; we really should deduplicate this more.
This commit is contained in:
parent
564392b57b
commit
0db251e4ad
@ -743,6 +743,9 @@
|
|||||||
|
|
||||||
devShells = let
|
devShells = let
|
||||||
makeShell = pkgs: stdenv:
|
makeShell = pkgs: stdenv:
|
||||||
|
let
|
||||||
|
canRunInstalled = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||||
|
in
|
||||||
with commonDeps { inherit pkgs; };
|
with commonDeps { inherit pkgs; };
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "nix";
|
name = "nix";
|
||||||
@ -760,7 +763,8 @@
|
|||||||
++ awsDeps ++ checkDeps ++ internalApiDocsDeps;
|
++ awsDeps ++ checkDeps ++ internalApiDocsDeps;
|
||||||
|
|
||||||
configureFlags = configureFlags
|
configureFlags = configureFlags
|
||||||
++ testConfigureFlags ++ internalApiDocsConfigureFlags;
|
++ testConfigureFlags ++ internalApiDocsConfigureFlags
|
||||||
|
++ lib.optional (!canRunInstalled) "--disable-doc-gen";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user