mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
Fix ISO generation
The volume label cannot be longer than 32 characters.
This commit is contained in:
parent
34628fe92b
commit
76160c6de7
|
@ -20,7 +20,7 @@ with pkgs.lib;
|
|||
# ISO naming.
|
||||
isoImage.isoName = "${config.isoImage.isoBaseName}-${config.system.nixosVersion}-${pkgs.stdenv.system}.iso";
|
||||
|
||||
isoImage.volumeID = "NIXOS_${config.system.nixosVersion}";
|
||||
isoImage.volumeID = substring 0 32 "NIXOS_${config.system.nixosVersion}";
|
||||
|
||||
# Make the installer more likely to succeed in low memory
|
||||
# environments. The kernel's overcommit heustistics bite us
|
||||
|
|
Loading…
Reference in a new issue