Explorar el Código

Merge branch 'master' into cray-next

cray
Mitch Tishmack hace 10 años
padre
commit
20fd85a1c2
Se han modificado 3 ficheros con 16 adiciones y 14 borrados
  1. +0
    -7
      Makefile
  2. +0
    -3
      etangle
  3. +16
    -4
      readme.org

+ 0
- 7
Makefile Ver fichero

@@ -14,13 +14,6 @@ all: clean tangle-next


tmp: tmp:
install -dm755 $@ install -dm755 $@
$(MAKE) emacs

#special target to handle emacs configuration
emacs:
install -dm755 tmp/.emacs.d
install -m400 init.el tmp/emacs.d/init.el
install -m400 emacs.org tmp/emacs.d/emacs.org


$(NEXTGEN): $(NEXTGEN):
install -dm755 $@ install -dm755 $@


+ 0
- 3
etangle Ver fichero

@@ -1,9 +1,6 @@
;;-*-mode: emacs-lisp; coding: utf-8;-*- ;;-*-mode: emacs-lisp; coding: utf-8;-*-
;; Copyright: 2016 Mitchell Tishmack ;; Copyright: 2016 Mitchell Tishmack
;; Tangle an org mode file with babel using emacs. ;; Tangle an org mode file with babel using emacs.
(let ((default-directory "~/.emacs.d"))
(normal-top-level-add-subdirs-to-load-path))

(load-file (if (getenv "OPTIONS") (load-file (if (getenv "OPTIONS")
(concat (concat "./" (getenv "OPTIONS")) ".el") (concat (concat "./" (getenv "OPTIONS")) ".el")
"./options.el")) "./options.el"))


+ 16
- 4
readme.org Ver fichero

@@ -416,6 +416,22 @@ nix_env_setup()


nix_env_setup nix_env_setup
#+END_SRC #+END_SRC

Workaround stupid ssl crap with recent nix.

#+BEGIN_SRC sh :tangle (when (and (eq nix-p t) (eq osx-p t)) "tmp/.profile")
SSL_CERT_FILE="${HOME}/.nix-profile/etc/ssl/certs/ca-bundle.crt"
GIT_SSL_CAINFO=$SSL_CERT_FILE
export SSL_CERT_FILE
export GIT_SSL_CAINFO
#+END_SRC

TODO Add linux ca-bundle detection
if test -e /etc/ssl/certs/ca-bundle.crt ; # Fedora, NixOS
set -xg SSL_CERT_FILE /etc/ssl/certs/ca-bundle.crt ;
else if test -e /etc/ssl/certs/ca-certificates.crt ; # Ubuntu, Debian
set -xg SSL_CERT_FILE /etc/ssl/certs/ca-certificates.crt

*** tmux *** tmux
#+BEGIN_SRC sh :tangle (when (eq tmux-p t) "tmp/.profile") #+BEGIN_SRC sh :tangle (when (eq tmux-p t) "tmp/.profile")
t() t()
@@ -1877,10 +1893,6 @@ General git configuration.
[http] [http]
postBuffer = 209715200 postBuffer = 209715200
#+END_SRC #+END_SRC
*** nix
#+BEGIN_SRC conf :tangle (when (eq nix-p t) "tmp/.gitconfig")
sslcainfo = ~/.nix-profile/etc/ca-bundle.crt
#+END_SRC
*** push *** push
#+BEGIN_SRC conf #+BEGIN_SRC conf
[push] [push]


Cargando…
Cancelar
Guardar