[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/13: gnu: Add 'guix-register'.
From: |
Ludovic Courtès |
Subject: |
05/13: gnu: Add 'guix-register'. |
Date: |
Sun, 8 Apr 2018 12:04:15 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 278c16579dfe59833155b1e7678a727e60fa6540
Author: Ludovic Courtès <address@hidden>
Date: Sun Apr 8 16:38:53 2018 +0200
gnu: Add 'guix-register'.
* gnu/packages/package-management.scm (guix-register): New variable.
---
gnu/packages/package-management.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/package-management.scm
b/gnu/packages/package-management.scm
index a90ba7a..f0c6b8a 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -283,6 +283,33 @@ the Nix package manager.")
;; Alias for backward compatibility.
(define-public guix-devel guix)
+(define-public guix-register
+ ;; This package is for internal consumption: it allows us to quickly build
+ ;; the 'guix-register' program, which is referred to by (guix config).
+ ;; TODO: Remove this hack when 'guix-register' has been superseded by Scheme
+ ;; code.
+ (package
+ (inherit guix)
+ (properties `((hidden? . #t)))
+ (name "guix-register")
+ (arguments
+ (substitute-keyword-arguments (package-arguments guix)
+ ((#:tests? #f #f)
+ #f)
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (replace 'build
+ (lambda _
+ (invoke "make" "nix/libstore/schema.sql.hh")
+ (invoke "make" "-j" (number->string
+ (parallel-job-count))
+ "guix-register")))
+ (delete 'copy-bootstrap-guile)
+ (replace 'install
+ (lambda _
+ (invoke "make" "install-sbinPROGRAMS")))
+ (delete 'wrap-program)))))))
+
(define-public guile2.0-guix
(package
(inherit guix)
- 13/13: hydra: Clear '%load-compiled-path' for gnu-system.scm., (continued)
- 13/13: hydra: Clear '%load-compiled-path' for gnu-system.scm., Ludovic Courtès, 2018/04/08
- 02/13: modules: Report the search path in &missing-dependency-error., Ludovic Courtès, 2018/04/08
- 07/13: build-self: Use (guix self)., Ludovic Courtès, 2018/04/08
- 10/13: cuirass: Factorize hydra-to-cuirass CI job translation., Ludovic Courtès, 2018/04/08
- 08/13: build: Add 'as-derivation' target., Ludovic Courtès, 2018/04/08
- 06/13: Add (guix self)., Ludovic Courtès, 2018/04/08
- 03/13: union: Allow callers to choose the collision resolution policy., Ludovic Courtès, 2018/04/08
- 09/13: discovery: Remove dependency on (guix ui)., Ludovic Courtès, 2018/04/08
- 01/13: tests: Skip 'pivot-root' test on Ubuntu's 4.4 kernels., Ludovic Courtès, 2018/04/08
- 12/13: hydra: 'guix-modular' jobs use the new 'build-self'., Ludovic Courtès, 2018/04/08
- 05/13: gnu: Add 'guix-register'.,
Ludovic Courtès <=