emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/nix-mode 149d924f6f 221/500: Add nix-store.el


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode 149d924f6f 221/500: Add nix-store.el
Date: Sat, 29 Jan 2022 08:27:08 -0500 (EST)

branch: elpa/nix-mode
commit 149d924f6f264c1de94eba672ed44d8c70d9e9d3
Author: Matthew Bauer <matthew.bauer@obsidian.systems>
Commit: Matthew Bauer <matthew.bauer@obsidian.systems>

    Add nix-store.el
---
 nix-store.el | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/nix-store.el b/nix-store.el
new file mode 100644
index 0000000000..c702f388d0
--- /dev/null
+++ b/nix-store.el
@@ -0,0 +1,25 @@
+;;; nix.el -- run nix commands in Emacs -*- lexical-binding: t -*-
+
+;; Author: Matthew Bauer <mjbauer95@gmail.com>
+;; Homepage: https://github.com/NixOS/nix-mode
+;; Keywords: nix
+
+;; This file is NOT part of GNU Emacs.
+
+;;; Commentary:
+
+;;; Code:
+
+(require 'nix)
+
+(defun nix-store-realise (path)
+  "Realise a path asynchronously.
+PATH the path within /nix/store to realise"
+  (make-process
+   :buffer nil
+   :command (list nix-store-executable "-r" path)
+   :noquery t
+   :name (format "*nix-store*<%s>" path)))
+
+(provide 'nix-store)
+;;; nix-store.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]