system: hurd: Remove custom <manifest> gexp compiler.

This is superseded by <profile>, which was added in
ef674a24c5.

* gnu/system/hurd.scm (compile-manifest): Remove.
(cross-hurd-image)[system-profile]: Define using 'profile'.
This commit is contained in:
Ludovic Courtès 2020-05-27 12:12:46 +02:00
parent 9549f0283a
commit c041c360b7
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -41,16 +41,6 @@ (define-module (gnu system hurd)
;;;
;;; Code:
;; XXX: Surely this belongs in (guix profiles), but perhaps we need high-level
;; <profile> objects so one can specify hooks, etc.?
(define-gexp-compiler (compile-manifest (manifest
(@@ (guix profiles) <manifest>))
system target)
"Lower MANIFEST as a profile."
(profile-derivation manifest
#:system system
#:target target))
(define %base-packages/hurd
(list hurd bash coreutils file findutils grep sed
guile-3.0 guile-colorized guile-readline
@ -71,8 +61,10 @@ (define (cross-built-entry entry)
(manifest-entry-dependencies entry)))))
(define system-profile
(profile
(content
(map-manifest-entries cross-built-entry
(packages->manifest %base-packages/hurd)))
(packages->manifest %base-packages/hurd)))))
(define grub.cfg
(let ((hurd (cross-built hurd))