···7172# Precalculate all normalisations with a single Nix call. Calling Nix for each
73# string individually would take way too long
74-nix-instantiate --eval --strict --json \
75 --argstr libpath "$TEST_LIB" \
76 --argstr dir "$tmp/strings" \
77 "$SCRIPT_DIR"/prop.nix \
···7172# Precalculate all normalisations with a single Nix call. Calling Nix for each
73# string individually would take way too long
74+nix-instantiate --eval --strict --json --show-trace \
75 --argstr libpath "$TEST_LIB" \
76 --argstr dir "$tmp/strings" \
77 "$SCRIPT_DIR"/prop.nix \
+1-1
nixos/lib/qemu-common.nix
···19 ];
2021 qemuSerialDevice =
22- if with pkgs.stdenv.hostPlatform; isx86 || isMips64 || isRiscV then "ttyS0"
23 else if (with pkgs.stdenv.hostPlatform; isAarch || isPower) then "ttyAMA0"
24 else throw "Unknown QEMU serial device for system '${pkgs.stdenv.hostPlatform.system}'";
25
···19 ];
2021 qemuSerialDevice =
22+ if with pkgs.stdenv.hostPlatform; isx86 || isLoongArch64 || isMips64 || isRiscV then "ttyS0"
23 else if (with pkgs.stdenv.hostPlatform; isAarch || isPower) then "ttyAMA0"
24 else throw "Unknown QEMU serial device for system '${pkgs.stdenv.hostPlatform.system}'";
25