aboutsummaryrefslogtreecommitdiffstats
path: root/bin/tagmail
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tagmail')
-rwxr-xr-xbin/tagmail10
1 files changed, 7 insertions, 3 deletions
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: