diff options
author | Arun Isaac | 2022-06-06 22:31:29 +0530 |
---|---|---|
committer | Arun Isaac | 2022-06-06 22:31:29 +0530 |
commit | 25a6d51e44577179378fd2b3e83042ff1de1cec9 (patch) | |
tree | 37513c58463fb1c217761b935769258feb5827f9 /guix.scm | |
parent | 4fb1444678a8a017ab3a388d206e74f4d4b30fee (diff) | |
download | guile-xapian-25a6d51e44577179378fd2b3e83042ff1de1cec9.tar.gz guile-xapian-25a6d51e44577179378fd2b3e83042ff1de1cec9.tar.lz guile-xapian-25a6d51e44577179378fd2b3e83042ff1de1cec9.zip |
guix.scm: Use source from current directory.
* guix.scm: Import (guix gexp), (guix git-download) and (guix
packages).
(%source-dir): New variable.
(guile-xapian)[source]: Set to source from current directory.
Diffstat (limited to 'guix.scm')
-rw-r--r-- | guix.scm | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -22,12 +22,19 @@ ;;; ;;; $ guix environment -l guix.scm -(use-modules (guix packages) +(use-modules (guix gexp) + (guix git-download) + (guix packages) (gnu packages autotools) (gnu packages guile-xyz)) +(define %source-dir (dirname (current-filename))) + (package (inherit guile-xapian) + (source (local-file %source-dir + #:recursive? #t + #:select? (git-predicate %source-dir))) (native-inputs `(,@(package-native-inputs guile-xapian) ("autoconf" ,autoconf) |