Nix3 + update

This commit is contained in:
Aleksandr Lebedev 2025-07-22 19:49:40 +02:00
parent 452687a211
commit b1bc2752fb
2 changed files with 23 additions and 6 deletions

View file

@ -1490,6 +1490,23 @@ Emacs has built-in programming language modes for Lisp, Scheme, DSSSL, Ada, ASM,
:ensure t
:mode "\\.nix\\'")
#+end_src
[[https://github.com/emacs-twist/nix3.el][nix3.el]]
#+begin_src emacs-lisp
(use-package promise :ensure t) ;; nix3 dependency
(eval-elisp-string "(use-package nix3 \
:vc (:url \"https://github.com/emacs-twist/nix3.el\" \
:rev :newest)\
:init \
(let* ((mainpkg-dir (file-name-directory (locate-library \"nix3\"))) \
(subpkg-dir (expand-file-name \"extra\" mainpkg-dir))) \
(add-to-list 'load-path subpkg-dir)))")
(use-package magit-nix3
:after magit-status
:config
(magit-nix3-flake-mode t))
#+end_src
** GLSL
#+begin_src emacs-lisp
(use-package glsl-mode

12
flake.lock generated
View file

@ -10,11 +10,11 @@
]
},
"locked": {
"lastModified": 1750785611,
"narHash": "sha256-fi8N4PAlBA6A1yoXywCQsagGfCMNPHt9QL05p644jjU=",
"lastModified": 1753204266,
"narHash": "sha256-mZ/+5xC3UYINFglTDjUbkA3cUiPUQYp/MUmeLFlT5Vw=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "0cce9a0141bd5d937262adb4861355d07015e715",
"rev": "aa1acbf4633b38c014b547447d87bc634ff113c9",
"type": "github"
},
"original": {
@ -40,11 +40,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1750622754,
"narHash": "sha256-kMhs+YzV4vPGfuTpD3mwzibWUE6jotw5Al2wczI0Pv8=",
"lastModified": 1753115646,
"narHash": "sha256-yLuz5cz5Z+sn8DRAfNkrd2Z1cV6DaYO9JMrEz4KZo/c=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "c7ab75210cb8cb16ddd8f290755d9558edde7ee1",
"rev": "92c2e04a475523e723c67ef872d8037379073681",
"type": "github"
},
"original": {