1
0
Fork 1
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:
Eelco Dolstra 2013-07-17 19:34:06 +02:00
parent 34628fe92b
commit 76160c6de7

View file

@ -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