aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-05-27 12:12:46 +0200
committerLudovic Courtès <ludo@gnu.org>2020-05-28 00:55:00 +0200
commitc041c360b7145997b723c66065b1a0a22265efe7 (patch)
tree82d1dc2c371950c61a44ca8a810ce05664a099a2
parent9549f0283a78fe36f2d4ff2a04ef8ad6b0c02604 (diff)
downloadguix-c041c360b7145997b723c66065b1a0a22265efe7.tar.gz
guix-c041c360b7145997b723c66065b1a0a22265efe7.zip
system: hurd: Remove custom <manifest> gexp compiler.
This is superseded by <profile>, which was added in ef674a24c527eaf54801707d34dbf5d12ec139cb. * gnu/system/hurd.scm (compile-manifest): Remove. (cross-hurd-image)[system-profile]: Define using 'profile'.
-rw-r--r--gnu/system/hurd.scm16
1 files changed, 4 insertions, 12 deletions
diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 58bfdf88f6..3ccf47aa21 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -41,16 +41,6 @@
;;;
;;; 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 @@
(manifest-entry-dependencies entry)))))
(define system-profile
- (map-manifest-entries cross-built-entry
- (packages->manifest %base-packages/hurd)))
+ (profile
+ (content
+ (map-manifest-entries cross-built-entry
+ (packages->manifest %base-packages/hurd)))))
(define grub.cfg
(let ((hurd (cross-built hurd))