nixos/iso-image: targetPlatform -> hostPlatform

This is not a compiler, and therefore does not need to care about the
target platform.
This commit is contained in:
Alyssa Ross 2023-05-08 11:50:06 +00:00
parent 73b8bbe422
commit bf7de549b9
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -473,7 +473,7 @@ in
};
isoImage.squashfsCompression = mkOption {
default = with pkgs.stdenv.targetPlatform; "xz -Xdict-size 100% "
default = with pkgs.stdenv.hostPlatform; "xz -Xdict-size 100% "
+ lib.optionalString isx86 "-Xbcj x86"
# Untested but should also reduce size for these platforms
+ lib.optionalString isAarch "-Xbcj arm"