summary refs log tree commit diff
path: root/nixos/modules/installer/cd-dvd/iso-image.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2022-07-30 16:21:10 +0000
committerAlyssa Ross <hi@alyssa.is>2022-07-30 16:21:10 +0000
commit153bfc996609745cd8996400575b0ec3033036dd (patch)
treeb0aeba3ceff6c1d40029a1c9992e66fc7e68bcfe /nixos/modules/installer/cd-dvd/iso-image.nix
parent5330c0a1afe9d97d6f6366157cf0d3da9a8e7c31 (diff)
downloadnixpkgs-153bfc996609745cd8996400575b0ec3033036dd.tar
nixpkgs-153bfc996609745cd8996400575b0ec3033036dd.tar.gz
nixpkgs-153bfc996609745cd8996400575b0ec3033036dd.tar.bz2
nixpkgs-153bfc996609745cd8996400575b0ec3033036dd.tar.lz
nixpkgs-153bfc996609745cd8996400575b0ec3033036dd.tar.xz
nixpkgs-153bfc996609745cd8996400575b0ec3033036dd.tar.zst
nixpkgs-153bfc996609745cd8996400575b0ec3033036dd.zip
treewide: use isx86 where appropriate
Diffstat (limited to 'nixos/modules/installer/cd-dvd/iso-image.nix')
-rw-r--r--nixos/modules/installer/cd-dvd/iso-image.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/cd-dvd/iso-image.nix b/nixos/modules/installer/cd-dvd/iso-image.nix
index f3850a593e9..9309fe70a86 100644
--- a/nixos/modules/installer/cd-dvd/iso-image.nix
+++ b/nixos/modules/installer/cd-dvd/iso-image.nix
@@ -476,7 +476,7 @@ in
 
     isoImage.squashfsCompression = mkOption {
       default = with pkgs.stdenv.targetPlatform; "xz -Xdict-size 100% "
-                + lib.optionalString (isx86_32 || isx86_64) "-Xbcj x86"
+                + lib.optionalString isx86 "-Xbcj x86"
                 # Untested but should also reduce size for these platforms
                 + lib.optionalString isAarch "-Xbcj arm"
                 + lib.optionalString (isPower && is32bit && isBigEndian) "-Xbcj powerpc"