[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/nix-mode a8af6e9203 218/500: Find nix executables at start
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/nix-mode a8af6e9203 218/500: Find nix executables at start |
Date: |
Sat, 29 Jan 2022 08:27:08 -0500 (EST) |
branch: elpa/nix-mode
commit a8af6e9203ad81da736e8bdf75bf3686314fcdfd
Author: Matthew Bauer <matthew.bauer@obsidian.systems>
Commit: Matthew Bauer <matthew.bauer@obsidian.systems>
Find nix executables at start
This avoids issues with exec-path conflicts
---
nix.el | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/nix.el b/nix.el
index cb8fe452e8..6af9ea6f73 100644
--- a/nix.el
+++ b/nix.el
@@ -26,23 +26,27 @@
"Nix-related customizations"
:group 'languages)
-(defcustom nix-executable "nix"
+(defcustom nix-executable (executable-find "nix")
"Nix executable location."
- :group 'nix)
+ :group 'nix
+ :type 'string)
-(defcustom nix-build-executable "nix-build"
+(defcustom nix-build-executable (executable-find "nix-build")
"Nix-build executable location."
- :group 'nix)
+ :group 'nix
+ :type 'string)
-(defcustom nix-instantiate-executable "nix-instantiate"
+(defcustom nix-instantiate-executable (executable-find "nix-instantiate")
"Nix executable location."
- :group 'nix)
+ :group 'nix
+ :type 'string)
-(defcustom nix-store-executable "nix-store"
+(defcustom nix-store-executable (executable-find "nix-store")
"Nix executable location."
- :group 'nix)
+ :group 'nix
+ :type 'string)
-(defcustom nix-shell-executable "nix-shell"
+(defcustom nix-shell-executable (executable-find "nix-shell")
"Location of ‘nix-shell’ executable."
:group 'nix
:type 'string)
- [nongnu] elpa/nix-mode ae68b456f8 022/500: Refactor font lock, (continued)
- [nongnu] elpa/nix-mode ae68b456f8 022/500: Refactor font lock, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 7b47e2b4bc 042/500: Fix formatting., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 570d60d460 045/500: Rewrite nix-indent-level-parens with while loop., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 8a65262d37 200/500: Remove smartparens feature detection, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode cc23fd6a0e 206/500: Default to indent-relative, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 9f4f5d5860 204/500: Checkdoc of elisp, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode be7184ffcd 209/500: use tab-width instead of hardcoded '2', ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 5a8b334c75 212/500: Merge pull request #42 from serokell/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode b8aed79f89 211/500: No need to indent on = and ; (ruins your day), ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 81680dd7ac 213/500: nix-repl.el: make it work with newer nix repl command, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode a8af6e9203 218/500: Find nix executables at start,
ELPA Syncer <=
- [nongnu] elpa/nix-mode d6286ce43b 235/500: Add pcomplete support to nix.el, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode dd49386cc7 240/500: Remove global-nix-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 1be3ca4666 245/500: Clean up nix-shell.el, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 4ef5d77214 246/500: Add user manual, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 2bc99a4542 247/500: Add new CHANGELOG entry., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 14d1bbb936 248/500: Delete dir-locals.el, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ae2c44c160 250/500: Add nix-shell-haskell.el, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode c462eb400b 251/500: Add alias for nix-repl-show, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 47cdb44e2e 255/500: Improve indentation robustness, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 1c772ad539 253/500: Remove recommended config, ELPA Syncer, 2022/01/29