Unverified Commit bf7de549 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

nixos/iso-image: targetPlatform -> hostPlatform

This is not a compiler, and therefore does not need to care about the
target platform.
parent 73b8bbe4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"