[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/nix-mode e4844f7a71 438/500: Fix nix-system in nix-2.4
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/nix-mode e4844f7a71 438/500: Fix nix-system in nix-2.4 |
Date: |
Sat, 29 Jan 2022 08:27:54 -0500 (EST) |
branch: elpa/nix-mode
commit e4844f7a711c8d7dceb82b6b841a1e8485e12586
Author: Matthew Bauer <mjbauer95@gmail.com>
Commit: Matthew Bauer <mjbauer95@gmail.com>
Fix nix-system in nix-2.4
---
nix.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/nix.el b/nix.el
index 2ea7d09b9b..35735abaef 100644
--- a/nix.el
+++ b/nix.el
@@ -61,7 +61,9 @@
(defun nix-system ()
"Get the current system tuple."
(with-temp-buffer
- (call-process nix-executable nil (list t nil) nil "eval" "--raw"
"(builtins.currentSystem)")
+ (if (nix-is-24)
+ (call-process nix-executable nil (list t nil) nil "eval" "--impure"
"--raw" "--expr" "(builtins.currentSystem)")
+ (call-process nix-executable nil (list t nil) nil "eval" "--raw"
"(builtins.currentSystem)"))
(buffer-string)))
(defvar nix-version nil)
- [nongnu] elpa/nix-mode a3610b521f 385/500: Use NIX_GET_COMPLETIONS for Nix 3.0, (continued)
- [nongnu] elpa/nix-mode a3610b521f 385/500: Use NIX_GET_COMPLETIONS for Nix 3.0, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 1dcbf13a1d 402/500: Merge pull request #111 from leungbk/make-run, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode c52795de7d 392/500: Add completion-at-point to nix-repl-mode-map, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 75f383899a 395/500: Fixed styles., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 0023fc5b10 428/500: Merge pull request #127 from leungbk/nix-drv-regexp, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode bdd3c8a1e5 412/500: Exclude braces from ffap pattern, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode d1ee0e1741 416/500: Use javascript-mode for nix-drv-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 0cf1ea1e0e 390/500: Don’t pare nix completions, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 25cd13349f 445/500: Linkify `nix-mode.org` in Readme, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode c29b11b647 443/500: Add Package-Requires for dependency on "f", ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode e4844f7a71 438/500: Fix nix-system in nix-2.4,
ELPA Syncer <=
- [nongnu] elpa/nix-mode c016c5503d 473/500: nix-flake: Reuse the last flake when two C-u is given, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode c2d96ced52 447/500: Fix wrong documentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 1ac42cd103 465/500: Update lock file, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 1789c83b83 454/500: nix-format.el: Properly escape string in error message, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode e645310c88 458/500: Introduce `nix-store-show-path` command, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ef92acd96c 453/500: nix-format.el: Use replace-buffer-contents when available, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ed00d8dff2 463/500: nix.el: Fix for Nix 2.5, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 327175e768 460/500: Merge pull request #138 from phikal/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode b1257d3ea6 461/500: Merge branch 'master' into store-path, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ae1f5253be 478/500: nix-flake: Add documentation to README, ELPA Syncer, 2022/01/29