[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27275: [PATCH 1/2] pull: Add a dependency to guile-git.
From: |
Mathieu Othacehe |
Subject: |
bug#27275: [PATCH 1/2] pull: Add a dependency to guile-git. |
Date: |
Wed, 07 Jun 2017 15:58:56 +0200 |
User-agent: |
mu4e 0.9.18; emacs 25.2.1 |
Hi Ludo,
Thanks for the fast review :)
>> (set! %load-compiled-path
>> (cons* json
>> + (string-append #$guile-git "/lib/guile/"
>> + #$(effective-version)-
>> + "/site-ccache")
>
> ‘guile-git’ can be #f so you have to account for that.
Just on question about that. The easier I come up with is something like
:
--8<---------------cut here---------------start------------->8---
(set! %load-path
(append
`(,@(if
(and #$guile-git #$guile-bytestructures)
(list
(string-append #$guile-git "/share/guile/site/"
#$(effective-version))
(string-append #$guile-bytestructures "/share/guile/site/"
#$(effective-version)))
'()))
(cons* json
(string-append #$guile-ssh "/share/guile/site/"
#$(effective-version))
%load-path)))
--8<---------------cut here---------------end--------------->8---
Any idea on how to write that smoothly ?
Thanks,
Mathieu