2018-03-16 21:38 GMT+01:00 Marius Bakke <mbakke@fastmail.com>:
Catonano <catonano@gmail.com> writes:

> ~$ guix system vm ~/configs/vm-config-desktop.scm \
>>    --image-size=10GB \
>>    --share=$HOME/transit=/transit
> guix system: error: build failed: error parsing derivation
> `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': expected
> string `Derive(['

This is very odd.  Can you paste the output of:

cat /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv ?

Does it make any difference if you drop --image-size (which is now
autodetected) and/or --share?


catonano@xps ~/projects/guix$ cat /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv
catonano@xps ~/projects/guix$

also

catonano@xps ~/projects/guix$ ls -lha /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv
-r--r--r-- 2 root root 0  1 gen  1970 /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv
catonano@xps ~/projects/guix$


it's an empty file !

This is without the --share thing

catonano@xps ~/projects/guix$ guix system vm ~/configs/vm-config-desktop.scm \
>    --image-size=10GB
Backtrace:
In guix/gexp.scm:
    637:2 19 (_ _)
In guix/monads.scm:
    485:9 18 (_ _)
In guix/gexp.scm:
   519:22 17 (_ _)
In guix/store.scm:
  1362:38 16 (_ #<build-daemon 256.97 2eb9eb0>)
In guix/derivations.scm:
   718:24 15 (derivation #<build-daemon 256.97 2eb9eb0> "etc" _ _ # _ …)
   674:39 14 (derivation-hash #<derivation #f =>  855daa0>)
   642:19 13 (derivation/masked-inputs _)
In srfi/srfi-1.scm:
   592:29 12 (map1 (#<<derivation-input> path: "/gnu/store/2qpk1f…> …))
   592:29 11 (map1 (#<<derivation-input> path: "/gnu/store/2xg333…> …))
   592:29 10 (map1 (#<<derivation-input> path: "/gnu/store/57car5…> …))
   592:29  9 (map1 (#<<derivation-input> path: "/gnu/store/75a9hf…> …))
   592:29  8 (map1 (#<<derivation-input> path: "/gnu/store/7fb2pw…> …))
   592:29  7 (map1 (#<<derivation-input> path: "/gnu/store/bw12nm…> …))
   592:17  6 (map1 (#<<derivation-input> path: "/gnu/store/dp8ywh…> …))
In guix/derivations.scm:
   644:39  5 (_ _)
In guix/memoization.scm:
    100:0  4 (_ #<hash-table 2972e20 2130/3517> "/gnu/store/dp8ywhh…" …)
In guix/derivations.scm:
   634:22  3 (_)
   494:17  2 (read-derivation-from-file "/gnu/store/dp8ywhh22n8ixikq…")
In ice-9/ports.scm:
   444:17  1 (call-with-input-file _ _ #:binary _ #:encoding _ # _)
In unknown file:
           0 (scm-error misc-error #f "~A ~S ~S" ("failed to par…" …) …)

ERROR: In procedure scm-error:
failed to parse derivation #<input: /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv 14> ()
catonano@xps ~/projects/guix$ guix system vm ~/configs/vm-config-desktop.scm   


and this is without the image size thing

catonano@xps ~/projects/guix$ guix system vm ~/configs/vm-config-desktop.scm \
>    --share=$HOME/transit=/transit
guix system: error: build failed: error parsing derivation `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': expected string `Derive(['
catonano@xps ~/projects/guix$