Marek Paśnikowski <[email protected]> writes:
> Seems like Gnus cleaned up the message for me, so I can see a bit more.
>
> “花不见海” <[email protected]> writes:
>
>> (define download-ohmyzsh-install
>> (with-imported-modules ’((guix build utils))
>> #~(begin
>> (use-modules (guix build utils))
>> (invoke
>> “curl”
>> “-L”
>>
>> “<https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh>”
>> “-O”
>> “install.sh”)
>> (invoke “sh” “install.sh”))))
>>
>> (home-environment
>> [packages …]
>> (services
>> (list
>> (service home-run-on-first-login-service-type download-ohmyzsh-install)
>> (service home-zsh-service-type (home-zsh-configuration)))))
>>
>
> I tried to refute the service declaration by looking at the service
> source code, but I was not able to find any issues this way.
>
>> \builder for `/gnu/store/3szcc1q867q7hrqigsns4xf8bvrc2l5h-home.drv’ failed
>> with exit code 1
>> build of /gnu/store/3szcc1q867q7hrqigsns4xf8bvrc2l5h-home.drv failed
>> View build log at
>> ’/var/log/guix/drvs/3s/zcc1q867q7hrqigsns4xf8bvrc2l5h-home.drv.gz’.
>
> This line here, “View build log at $path”, is the most important one.
> Everything else does not matter. Post the contents of that log using
> zcat, which is a variant of cat that does decompression.
Oh! I thought the log file compressed is a directory. So I used tar -xvf
$logfile
to see the log.
When I use zcat I got this
——————————- zcat $logfile ———————————-
Backtrace:
2 (primitive-load “/gnu/store/zhanp30hpki5l4ym1jw8d471x0z?”)
In ice-9/eval.scm:
619:8 1 (_ #f)
In unknown file:
0 (symlink “/gnu/store/8dp41h3wd0zqalffgr67xwzmpjx63h7b-?” ?)
ERROR: In procedure symlink:
In procedure symlink: File exists