Paste number 333384: guix config for source image

Paste number 333384: guix config for source image
Pasted by: bavier
When:3 years, 5 months ago
Share:Tweet this! | http://paste.lisp.org/+758O
Channel:None
Paste contents:
Raw Source | XML | Display As
(use-modules (gnu system)
	     (gnu system install)
	     (gnu services)
	     (gnu packages)
	     (guix packages)
	     (guix sets)
	     (srfi srfi-1))

(define all-package-source
  (set->list
   (fold-packages (lambda (package result)
		    (set-union result
			       (list->set
				(package-direct-sources package))))
		  (set))))

(operating-system
  (inherit installation-os)
  (services (cons (service gc-root-service-type all-package-source)
		  (operating-system-user-services installation-os))))

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.