On 2018-11-14 16:21, Konrad Hinsen wrote:

snip

BTW, I did find a way to run "guix pull" which has a good chance to work
on a more typical installation: remove $HOME/.config/guix and then run
"/usr/local/bin/guix pull". Unfortunately, this fails on my machine
because of insufficient disk space for building an enormous amount of
packages. Even gtk, although I am on a headless server.

GTK? Interesting. Could you share your package profile (guix package -I) and config.scm?

I run GuixSD 0.15 in Qemu on a 10GB cow. The attached config.scm and the following packages consumes ~3.2GB space in the store:
sdb@komputilo ~/guix-tree [env]$ guix package -I |awk '{ print $1 " " $2 }'
openssh 7.7p1
nss 3.36.1
file 5.32
wget 1.19.5
git 2.18.0
git:send-email 2.18.0
guile-readline 2.2.3
emacs-guix 0.4.1.1
emacs-no-x 26.1
tree 1.7.0
emacs-paredit 24
geiser 0.10
magit 2.13.0
emacs-yasnippet 0.12.2
recutils 1.7

I never had to build anything. All substitutes needed have been available.

--
Cheers
Swedebugia
;; This is an operating system configuration template
;; for a "bare bones VM" setup, with no X11 display server
;; and working HTTPS.

(use-modules (gnu))
(use-service-modules networking ssh)
(use-package-modules screen ssh certs)

(operating-system
  (host-name "komputilo")
  (timezone "Europe/Berlin")
  (locale "en_US.utf8")

  ;; Boot in "legacy" BIOS mode, assuming /dev/vdX is the
  ;; target hard disk specified in the VM, and "my-root" 
  ;; is the label of the target root file system.
  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (target "/dev/vda")
		(terminal-outputs '(console))))
  (file-systems (cons (file-system
			;; Hint: set label with the "e2label" command.
                        (device (file-system-label "my-root"))
                        (mount-point "/")
                        (type "ext4"))
                      %base-file-systems))

  ;; This is where user accounts are specified.  The "root"
  ;; account is implicit, and is initially created with the
  ;; empty password.
  (users (cons (user-account
                (name "sdb")
                (comment "Bob's sister")
                (group "users")

                ;; Adding the account to the "wheel" group
                ;; makes it a sudoer.  Adding it to "audio"
                ;; and "video" allows the user to play sound
                ;; and access the webcam.
                (supplementary-groups '("wheel"
                                        "audio" "video"))
                (home-directory "/home/sdb"))
               %base-user-accounts))

  ;; Globally-installed packages.
  (packages (cons* 	screen 
			openssh 	; For SSH daemon
			nss-certs	; Needed for HTTPS to work 
			%base-packages))

  ;; Add services to the baseline: a DHCP client and
  ;; an SSH server.
  (services (cons* (dhcp-client-service)		; Aquire IP via DHCP from Qemu on boot
                   (service openssh-service-type	; SSH server started on boot
                            (openssh-configuration
                              (port-number 22)))
		   (modify-services %base-services      ; Add berlin as first priority substitute server
				    (guix-service-type config =>
						       (guix-configuration
							(inherit config)
							(substitute-urls '("https://berlin.guixsd.org https://mirror.hydra.gnu.org";))))))))

Reply via email to