gnu: vm: Register the profile as a GC root.

* gnu/system/vm.scm (system-qemu-image): Register PROFILE as a GC root.
This commit is contained in:
Ludovic Courtès 2013-09-25 23:05:33 +02:00
parent ba47851fac
commit 27cab84c6d
1 changed files with 3 additions and 1 deletions

View File

@ -515,7 +515,9 @@ You can log in as 'root' with no password.
("/etc/login.defs" -> "/dev/null")
("/etc/pam.d" -> ,pam.d)
("/etc/profile" -> ,bashrc)
("/etc/issue" -> ,issue)))
("/etc/issue" -> ,issue)
(directory "/var/nix/gcroots")
("/var/nix/gcroots/default-profile" -> ,profile)))
(out (derivation->output-path
(package-derivation store mingetty)))
(boot (add-text-to-store store "boot"