>From 15099fe2489cab4aa814844bb83f5400218c129b Mon Sep 17 00:00:00 2001 From: Caleb Ristvedt Date: Mon, 5 Jun 2017 03:09:41 -0500 Subject: [PATCH 7/7] fixup! Honor environment variables in guix-register --- guix/store.scm | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/guix/store.scm b/guix/store.scm index e78cfbe41..1334822ff 100644 --- a/guix/store.scm +++ b/guix/store.scm @@ -1246,15 +1246,11 @@ makes a wrapper around a port which implements GET-POSITION." ;; TODO: make this canonicalize store items that are registered. This involves ;; setting permissions and timestamps, I think. Also, run a "deduplication -;; pass", whatever that involves. Also, honor environment variables. Also, -;; handle databases not existing yet (what should the default behavior be? -;; Figuring out how the C++ stuff currently does it sounds like a lot of -;; grepping for global variables...) - -;; As far as I can tell there are a couple of anticipated use cases for some -;; of these parameters: prefix is set if you want to "simulate a chroot", as -;; far as the database is concerned. For example, you could register paths in -;; /mnt/gnu/store using #:prefix "/mnt" +;; pass", whatever that involves. Also, handle databases not existing yet +;; (what should the default behavior be? Figuring out how the C++ stuff +;; currently does it sounds like a lot of grepping for global +;; variables...). Also, return #t on success like the documentation says we +;; should. (define* (register-path path #:key (references '()) deriver prefix -- 2.13.0