nixos/documentation: fix docs cross build
a few things should've used buildPackages/nativeBuildInputs to not not require the host architecture for building docs. tested by building aarch64-linux docs on x86_64-linux, and the result looks good.
This commit is contained in:
@@ -76,7 +76,7 @@ let
|
||||
} ''
|
||||
export NIX_STORE_DIR=$TMPDIR/store
|
||||
export NIX_STATE_DIR=$TMPDIR/state
|
||||
${pkgs.nix}/bin/nix-instantiate \
|
||||
${pkgs.buildPackages.nix}/bin/nix-instantiate \
|
||||
--show-trace \
|
||||
--eval --json --strict \
|
||||
--argstr libPath "$libPath" \
|
||||
|
||||
Reference in New Issue
Block a user