Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 rivejä
585 B

5 vuotta sitten
  1. ;;; nix-store.el -- run nix commands in Emacs -*- lexical-binding: t -*-
  2. ;; Author: Matthew Bauer <mjbauer95@gmail.com>
  3. ;; Homepage: https://github.com/NixOS/nix-mode
  4. ;; Keywords: nix
  5. ;; Version: 1.4.0
  6. ;; This file is NOT part of GNU Emacs.
  7. ;;; Commentary:
  8. ;;; Code:
  9. (require 'nix)
  10. (defun nix-store-realise (path)
  11. "Realise a path asynchronously.
  12. PATH the path within /nix/store to realise"
  13. (make-process
  14. :buffer nil
  15. :command (list nix-store-executable "-r" path)
  16. :noquery t
  17. :name (format "*nix-store*<%s>" path)))
  18. (provide 'nix-store)
  19. ;;; nix-store.el ends here