diff options
author | Arun Isaac | 2023-01-03 14:27:04 +0000 |
---|---|---|
committer | Arun Isaac | 2023-01-03 14:27:04 +0000 |
commit | 02a1e4e2a82628216046957e929b7f8ec11c6544 (patch) | |
tree | c9002b8d009e9a63317ba97cbeee19ddfc931913 | |
parent | 5795aeb486be24a5b5f202cf2d333a374ffb798d (diff) | |
download | guile-email-02a1e4e2a82628216046957e929b7f8ec11c6544.tar.gz guile-email-02a1e4e2a82628216046957e929b7f8ec11c6544.tar.lz guile-email-02a1e4e2a82628216046957e929b7f8ec11c6544.zip |
guix.scm: Build package from local source.
* guix.scm: Import (guix gexp) and (guix git-download).
(%source-dir): New variable.
(guile-email)[source]: Use local source.
-rw-r--r-- | guix.scm | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -22,13 +22,20 @@ ;;; ;;; $ 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) (gnu packages texinfo)) +(define %source-dir (dirname (current-filename))) + (package (inherit guile-email) + (source (local-file %source-dir + #:recursive? #t + #:select? (git-predicate %source-dir))) (native-inputs `(,@(package-native-inputs guile-email) ("autoconf" ,autoconf) |