Merge pull request #230665 from alyssais/iso-image-targetPlatform

nixos/iso-image: targetPlatform -> hostPlatform
This commit is contained in:
Atemu 2023-05-08 15:06:48 +02:00 committed by GitHub
commit cb0f64e45d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"