diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-05-08 11:50:06 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-05-08 11:50:06 +0000 |
commit | bf7de549b97ed64658b2d90d7a3f3c3cb0c64984 (patch) | |
tree | f70aaec886d0494040ebbb6a6d577215ea1991b7 /nixos/modules/installer/cd-dvd/iso-image.nix | |
parent | 73b8bbe42235a534e33f95574d8040eaf73c3b5f (diff) | |
download | nixpkgs-bf7de549b97ed64658b2d90d7a3f3c3cb0c64984.tar nixpkgs-bf7de549b97ed64658b2d90d7a3f3c3cb0c64984.tar.gz nixpkgs-bf7de549b97ed64658b2d90d7a3f3c3cb0c64984.tar.bz2 nixpkgs-bf7de549b97ed64658b2d90d7a3f3c3cb0c64984.tar.lz nixpkgs-bf7de549b97ed64658b2d90d7a3f3c3cb0c64984.tar.xz nixpkgs-bf7de549b97ed64658b2d90d7a3f3c3cb0c64984.tar.zst nixpkgs-bf7de549b97ed64658b2d90d7a3f3c3cb0c64984.zip |
nixos/iso-image: targetPlatform -> hostPlatform
This is not a compiler, and therefore does not need to care about the target platform.
Diffstat (limited to 'nixos/modules/installer/cd-dvd/iso-image.nix')
-rw-r--r-- | nixos/modules/installer/cd-dvd/iso-image.nix | 2 |
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 ea17e2a705e..fcdee1bc096 100644 --- a/nixos/modules/installer/cd-dvd/iso-image.nix +++ b/nixos/modules/installer/cd-dvd/iso-image.nix @@ -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" |