From: jidibinlin <2694273649@qq.com>
To: "Marek Paśnikowski" <marek@marekpasnikowski.pl>
Cc: guix-devel@gnu.org
Subject: Re: Need help about guix home "home-run-on-first-login-service-type"
Date: Tue, 06 Aug 2024 17:35:05 +0800 [thread overview]
Message-ID: <tencent_A997E6323425118EF5E2C6A8524FADD74109@qq.com> (raw)
Message-ID: <87ikwevvsm.fsf@qq.com> (raw)
In-Reply-To: <874j7y3v7r.fsf@marekpasnikowski.pl> ("Marek Paśnikowski"'s message of "Tue, 06 Aug 2024 10:35:04 +0200")
[-- Attachment #1: Type: text/plain, Size: 1973 bytes --]
Marek Paśnikowski <marek@marekpasnikowski.pl> writes:
> Seems like Gnus cleaned up the message for me, so I can see a bit more.
>
> “花不见海” <2694273649@qq.com> 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
next prev parent reply other threads:[~2024-08-06 9:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-05 13:51 Need help about guix home "home-run-on-first-login-service-type" =?gb18030?B?u6iyu7z7uqM=?=
2024-08-05 17:49 ` Tomas Volf
2024-08-06 8:35 ` Marek Paśnikowski
2024-08-06 9:35 ` jidibinlin [this message]
2024-08-06 9:35 ` jidibinlin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_A997E6323425118EF5E2C6A8524FADD74109@qq.com \
--to=2694273649@qq.com \
--cc=guix-devel@gnu.org \
--cc=marek@marekpasnikowski.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.