[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/nix-mode 8ab089b251 230/500: Set nix-shell-attribute
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/nix-mode 8ab089b251 230/500: Set nix-shell-attribute |
Date: |
Sat, 29 Jan 2022 08:27:09 -0500 (EST) |
branch: elpa/nix-mode
commit 8ab089b2518dff3f6ee7b96dd1543d9bcab50e0c
Author: Matthew Bauer <matthew.bauer@obsidian.systems>
Commit: Matthew Bauer <matthew.bauer@obsidian.systems>
Set nix-shell-attribute
Also nix-shell-file is risky
---
nix-shell.el | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/nix-shell.el b/nix-shell.el
index 349a287adc..c448cd314a 100644
--- a/nix-shell.el
+++ b/nix-shell.el
@@ -25,6 +25,12 @@
:group 'nix)
(defcustom nix-shell-file nil
+ "Set to the file to run the nix-shell for."
+ :type 'string
+ :group 'nix-shell
+ :risky t)
+
+(defcustom nix-shell-attribute nil
"Set to the file to run the nix-shell for."
:type 'string
:group 'nix-shell)
@@ -192,14 +198,5 @@ ATTRIBUTE an attribute of the Nix file to use."
(current-buffer))
nix-file attribute)))
-;;;###autoload
-(define-minor-mode global-nix-shell-mode
- "A minor mode for setting up build tools from Nix."
- :group 'nix
- :global t
- (if nix-shell-mode
- (add-hook 'find-file-hook 'nix-shell t)
- (remove-hook 'find-file-hook 'nix-shell)))
-
(provide 'nix-shell)
;;; nix-shell.el ends here
- [nongnu] elpa/nix-mode 6445ebfad6 285/500: Merge pull request #63 from etu/ert-indent-testing, (continued)
- [nongnu] elpa/nix-mode 6445ebfad6 285/500: Merge pull request #63 from etu/ert-indent-testing, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 54ef833100 294/500: Merge pull request #68 from etu/fix-recent-regressions, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode e8921b8a78 295/500: Prioritize closing } over regular indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 80a1e96c71 296/500: Merge branch 'grahamc-fix-issue-69', ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 53ea839a52 418/500: Replace javascript-mode with js-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode aae6f710e0 404/500: Address review comments, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode d27820b040 442/500: Merge pull request #131 from nagy/nix-process-refactor, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 5f44621864 474/500: nix-flake: Make the argument bindings more predictable, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode a18a226ce9 123/500: Add nix-mode tests., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 9e59bcf59e 216/500: Fix read only .drv file issue, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 8ab089b251 230/500: Set nix-shell-attribute,
ELPA Syncer <=
- [nongnu] elpa/nix-mode 84ee98019f 271/500: Skip over comments in indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode a30e88362a 290/500: Remove line that caused tests to not indent at all in the tests, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 82399e6bc3 305/500: Add missing check for '?' when lexing forward., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ec19a472ec 318/500: Update documentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 75b907c767 328/500: Improve indentation of function bodies., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 78c3832e48 333/500: Make smie-setup optional, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 56748ac556 457/500: Merge pull request #136 from bcc32/replace-buffer-contents, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode e61ecb95ef 456/500: Merge pull request #137 from bcc32/nix-format-before-save, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 0d65c482b2 477/500: nix-flake: Avoid use of flatten-list to support older Emacs versions, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 07b6069c78 491/500: nix-flake: Fix an unexpected error in assert, ELPA Syncer, 2022/01/29