From 60dd84687fa80ca3e1e3ad8bb70403961f8c1e6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Thu, 25 Nov 2021 13:24:58 +0100 Subject: execute tagmail from guix profile --- bin/tagmail | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/tagmail b/bin/tagmail index aa77751..90838bd 100755 --- a/bin/tagmail +++ b/bin/tagmail @@ -1,5 +1,5 @@ -#!/usr/bin/guile \ --e main -s +#!/usr/bin/env sh +LD_LIBRARY_PATH=$HOME/.guix-profile/lib exec guile -e main -s "$0" "$@" !# ;; TODO ;; - Check for bogofilter installation @@ -11,7 +11,6 @@ (string-append (passwd:dir (getpwuid (geteuid))) "/dev/helpful_scripts/guile/" )) -(add-to-load-path "/usr/share/guile-lib/") (use-modules (ffi notmuch) @@ -223,3 +222,8 @@ (list-tag options ffi-db new) (clear-inbox options ffi-db) (tag-spam options ffi-db "tag:inbox"))))) + + +;; Local Variables: +;; mode: scheme +;; End: -- cgit v1.2.3