blob: d2b1dee5de39a1f74430bcf64dd5d487805096a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
;; Adds lib folders to env vars
;; Solves Magit compilation problem on arch guix emacs
;; (defun my-append-env-var (var-name value)
;; "Append VALUE to the beginning of current value of env variable VAR-NAME."
;; (setenv var-name (if (getenv var-name)
;; (format "%s:%s" value (getenv var-name))
;; value)))
;; (let ((gccjitpath "/usr/lib/gcc/x86_64-pc-linux-gnu:/usr/lib:/home/peronio/.local/bin"))
;; (mapc (lambda (var-name) (my-append-env-var var-name gccjitpath))
;; '("LIBRARY_PATH" "LD_LIBRARY_PATH" "PATH")))
|