diff options
author | Fredrik Salomonsson <plattfot@posteo.net> | 2021-01-27 14:12:57 -0800 |
---|---|---|
committer | Fredrik Salomonsson <plattfot@posteo.net> | 2021-01-27 14:12:57 -0800 |
commit | de1869ee35e316d4425107b1048ecbd637651010 (patch) | |
tree | d722956a668c8c405252a3b9eda4e8cf7b2416d6 /scripts | |
parent | 61029b7c3d222ce67c6064c0197a7ad656c00c78 (diff) | |
download | pinentry-rofi-de1869ee35e316d4425107b1048ecbd637651010.tar.gz |
Add search paths to guile's module and object dir
Feedback from Ludovic Courtès when adding a package definition of
pinentry-rofi to guix.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/pinentry-rofi.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/pinentry-rofi.in b/scripts/pinentry-rofi.in index 9813a3d..60c1e79 100644 --- a/scripts/pinentry-rofi.in +++ b/scripts/pinentry-rofi.in @@ -23,6 +23,10 @@ ;; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN ;; THE SOFTWARE. +(eval-when (load expand eval) + (set! %load-path (cons "@guilemoduledir@" %load-path)) + (set! %load-compiled-path (cons "@guileobjectdir@" %load-compiled-path))) + (use-modules (ice-9 getopt-long) (ice-9 format) (pinentry-rofi)) |