Boot the vm, attaching the inputs as disks
This commit is contained in:
parent
778497fb8a
commit
30789e5d5f
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*.nar
|
10
Makefile
10
Makefile
|
@ -1,2 +1,8 @@
|
||||||
all:
|
all: hello.nar /etc/guix/signing-key.pub Makefile
|
||||||
"$$(guix system vm-image config.scm)"
|
qemu-system-x86_64 -enable-kvm -m 256 \
|
||||||
|
"$$(guix system vm-image config.scm)" \
|
||||||
|
-drive format=raw,readonly,file=hello.nar,index=0,if=ide,index=1,media=disk \
|
||||||
|
-drive format=raw,readonly,file=/etc/guix/signing-key.pub,index=0,if=ide,index=2,media=disk
|
||||||
|
|
||||||
|
%.nar: Makefile
|
||||||
|
guix archive --export --recursive $* > $@
|
||||||
|
|
Loading…
Reference in New Issue
Block a user