unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: 2694273649@qq.com
To: guix-devel@gnu.org
Subject: Edit: Need help about guix home "home-run-on-first-login-service-type"
Date: Tue, 06 Aug 2024 15:00:17 +0800	[thread overview]
Message-ID: <tencent_8A6164084A9E1E0FC42952559CD2AF172C0A@qq.com> (raw)

For my first mail`s code block may hard to read (but it looks fine when
i read it from browser), so I edit it with emacs hope can correct the
whitespace


------------------------ home-configuration.scm ------------------------

;; This "home-environment" file can be passed to 'guix home reconfigure'
;; to reproduce the content of your profile.  This is "symbolic": it only
;; specifies package names.  To reproduce the exact same profile, you also
;; need to capture the channels being used, as returned by "guix describe".
;; See the "Replicating Guix" section in the manual.

(use-modules (gnu home)
  (gnu packages)
  (gnu services)
  (guix gexp)
  (gnu home services shells)
  (gnu home services))

(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
  ;; Below is the list of packages that will show up in your
  ;; Home profile, under ~/.guix-home/profile.
  (packages (specifications->packages (list "guile"
                                        "clojure"
                                        "node"
                                        "gopls"
                                        "go"
                                        "emacs-pgtk"
                                        "curl"
                                        "direnv")))

  ;; Below is the list of Home services.  To search for available
  ;; services, run 'guix home search KEYWORD' in a terminal.
  (services
    (list
      (service home-run-on-first-login-service-type download-ohmyzsh-install)
      (service home-zsh-service-type (home-zsh-configuration)))))



----------output for guix home container home-configuration.scm ---------

substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix/'... 100.0%
The following derivations will be built:
  /gnu/store/3szcc1q867q7hrqigsns4xf8bvrc2l5h-home.drv
  /gnu/store/8483bafsq7izr33l9v3qcw51vkxgl260-provenance.drv

building /gnu/store/8483bafsq7izr33l9v3qcw51vkxgl260-provenance.drv...
building /gnu/store/3szcc1q867q7hrqigsns4xf8bvrc2l5h-home.drv...
\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'.
guix home: error: build of `/gnu/store/3szcc1q867q7hrqigsns4xf8bvrc2l5h-home.drv' failed



             reply	other threads:[~2024-08-06  9:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-06  7:00 2694273649 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-06  8:30 Edit: Need help about guix home "home-run-on-first-login-service-type" jidibinlin
2024-08-06 13:22 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_8A6164084A9E1E0FC42952559CD2AF172C0A@qq.com \
    --to=2694273649@qq.com \
    --cc=guix-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).