Browse Source
system: Add gexp compiler for <operating-system>.
* gnu/system.scm (operating-system-compiler): New procedure.
version-0.14.0
Ludovic Courtès
5 years ago
No known key found for this signature in database
GPG Key ID: 90B11993D9AEBB5
1 changed files with
10 additions and
0 deletions
-
gnu/system.scm
|
|
@ -967,4 +967,14 @@ being stored into the \"parameters\" file)." |
|
|
|
(mount-point #$(boot-parameters-store-mount-point params)))) |
|
|
|
#:set-load-path? #f))) |
|
|
|
|
|
|
|
(define-gexp-compiler (operating-system-compiler (os <operating-system>) |
|
|
|
system target) |
|
|
|
((store-lift |
|
|
|
(lambda (store) |
|
|
|
;; XXX: This is not super elegant but we can't pass SYSTEM and TARGET to |
|
|
|
;; 'operating-system-derivation'. |
|
|
|
(run-with-store store (operating-system-derivation os) |
|
|
|
#:system system |
|
|
|
#:target target))))) |
|
|
|
|
|
|
|
;;; system.scm ends here |