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:
parent
ba47851fac
commit
27cab84c6d
|
@ -515,7 +515,9 @@ You can log in as 'root' with no password.
|
||||||
("/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"
|
||||||
|
|
Loading…
Reference in New Issue