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:
parent
73b8bbe422
commit
bf7de549b9
@ -473,7 +473,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
isoImage.squashfsCompression = mkOption {
|
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"
|
+ lib.optionalString isx86 "-Xbcj x86"
|
||||||
# Untested but should also reduce size for these platforms
|
# Untested but should also reduce size for these platforms
|
||||||
+ lib.optionalString isAarch "-Xbcj arm"
|
+ lib.optionalString isAarch "-Xbcj arm"
|
||||||
|
Loading…
Reference in New Issue
Block a user