aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2021-11-25 13:24:58 +0100
committerÓscar Nájera <hi@oscarnajera.com>2021-11-25 13:24:58 +0100
commit60dd84687fa80ca3e1e3ad8bb70403961f8c1e6d (patch)
tree940eff25480fb034ef5fa8d0351f97e5d48682bc /bin
parenteffd36042cf3ff8397cb20dfbfa0c647e8f2c087 (diff)
downloaddotfiles-60dd84687fa80ca3e1e3ad8bb70403961f8c1e6d.tar.gz
dotfiles-60dd84687fa80ca3e1e3ad8bb70403961f8c1e6d.tar.bz2
dotfiles-60dd84687fa80ca3e1e3ad8bb70403961f8c1e6d.zip
execute tagmail from guix profile
Diffstat (limited to 'bin')
-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: