mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
store: Add `add-temp-root'.
* guix/store.scm (add-temp-root): New procedure.
This commit is contained in:
parent
2af7e4a373
commit
d3648e0118
1 changed files with 5 additions and 0 deletions
|
@ -424,6 +424,11 @@ (define-operation (build-derivations (string-list derivations))
|
|||
Return #t on success."
|
||||
boolean)
|
||||
|
||||
(define-operation (add-temp-root (store-path path))
|
||||
"Make PATH a temporary root for the duration of the current session.
|
||||
Return #t."
|
||||
boolean)
|
||||
|
||||
(define-operation (add-indirect-root (string file-name))
|
||||
"Make FILE-NAME an indirect root for the garbage collector; FILE-NAME
|
||||
can be anywhere on the file system, but it must be an absolute file
|
||||
|
|
Loading…
Reference in a new issue