aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/vm.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-03-14 10:51:32 +0100
committerLudovic Courtès <ludo@gnu.org>2018-03-18 22:34:40 +0100
commit248db51c7ee2ef68653fbfe34b17d1cc905e10a6 (patch)
treebd9efceed7a0d1beabd8118dac9bfb4b879f2436 /gnu/system/vm.scm
parent17cdd3d0fe1987d0272f2c3496123be1ef772d6b (diff)
downloadguix-248db51c7ee2ef68653fbfe34b17d1cc905e10a6.tar
guix-248db51c7ee2ef68653fbfe34b17d1cc905e10a6.tar.gz
vm: Display a backtrace upon error by default.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Pass #:on-error to 'base-initrd'.
Diffstat (limited to 'gnu/system/vm.scm')
-rw-r--r--gnu/system/vm.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index ae8780d2e1..594ba66ff4 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -144,6 +144,7 @@ made available under the /xchg CIFS share."
(initrd (if initrd ; use the default initrd?
(return initrd)
(base-initrd %linux-vm-file-systems
+ #:on-error 'backtrace
#:linux linux
#:linux-modules %base-initrd-modules
#:qemu-networking? #t))))