mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gexp: Use a relative file name.
This is a followup to cbbbb7be0f
.
* guix/gexp.scm (%utils-module): Use a file name relative to this file
instead of using 'search-path'.
This commit is contained in:
parent
de7e0e8ee0
commit
a9601e2352
1 changed files with 4 additions and 2 deletions
|
@ -856,8 +856,10 @@ (define (substitute-references exp substs)
|
|||
|
||||
(define %utils-module
|
||||
;; This file provides 'mkdir-p', needed to implement 'imported-files' and
|
||||
;; other primitives below.
|
||||
(local-file (search-path %load-path "guix/build/utils.scm")
|
||||
;; other primitives below. Note: We give the file name relative to this
|
||||
;; file you are currently reading; 'search-path' could return a file name
|
||||
;; relative to the current working directory.
|
||||
(local-file "build/utils.scm"
|
||||
"build-utils.scm"))
|
||||
|
||||
(define* (imported-files files
|
||||
|
|
Loading…
Reference in a new issue