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

View file

@ -515,7 +515,9 @@ (define %dmd-services
("/etc/login.defs" -> "/dev/null") ("/etc/login.defs" -> "/dev/null")
("/etc/pam.d" -> ,pam.d) ("/etc/pam.d" -> ,pam.d)
("/etc/profile" -> ,bashrc) ("/etc/profile" -> ,bashrc)
("/etc/issue" -> ,issue))) ("/etc/issue" -> ,issue)
(directory "/var/nix/gcroots")
("/var/nix/gcroots/default-profile" -> ,profile)))
(out (derivation->output-path (out (derivation->output-path
(package-derivation store mingetty))) (package-derivation store mingetty)))
(boot (add-text-to-store store "boot" (boot (add-text-to-store store "boot"