!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

233 Members
Running Doom Emacs with Nix | You probably want https://github.com/nix-community/nix-doom-emacs48 Servers

Load older messages


SenderMessageTime
12 Oct 2022
@k0kada:matrix.orgk0kada (he/him)C is a really powerful scripting language that ends up generating assembly lol19:52:02
@k0kada:matrix.orgk0kada (he/him)In a actual scripting language, miss a type and you have an exception 19:52:19
@k0kada:matrix.orgk0kada (he/him)In C, miss a type and you have something 19:52:29
@k0kada:matrix.orgk0kada (he/him)Maybe your program work by mistake? Maybe it explodes your computer19:52:45
@k0kada:matrix.orgk0kada (he/him)Still, it is kinda fun depending on your state of mind19:53:01
@ckie:ckie.devckie (they/them)yeah i guess it doesn't need your effort spread out, it's just one simple line of thinking19:53:02
@ckie:ckie.devckie (they/them)can just wget a single-file header library and i'm good to go, relaxing19:53:35
@ckie:ckie.devckie (they/them) fmouse was like that 19:55:41
@ckie:ckie.devckie (they/them)it was so boring to write! was great19:55:50
@k0kada:matrix.orgk0kada (he/him)Still, really need to learn one more systems language while I still like programming lol 19:56:00
@k0kada:matrix.orgk0kada (he/him)Either Rust or Zig19:56:07
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
fmouse was like that
Oh nice, looks kinda like those vim extensions for browser
19:57:16
@ckie:ckie.devckie (they/them)mhm19:57:28
@ckie:ckie.devckie (they/them)i don't use it that much19:57:33
@ckie:ckie.devckie (they/them)but like, i wanted to draw some text and that was the most surprising/complex thing19:57:52
@ckie:ckie.devckie (they/them)after getting confused by the pango docs i ended up just stealing a little monospace 8x8 font from some old embedded thing and sticking it in19:58:28
@k0kada:matrix.orgk0kada (he/him)
In reply to @k0kada:matrix.org
Still, really need to learn one more systems language while I still like programming lol
Someday I need to rewrite my i3 status bar generator in one of those languages
20:03:16
@k0kada:matrix.orgk0kada (he/him)It had a really nice design, everything was async and based on block updates20:03:41
@k0kada:matrix.orgk0kada (he/him)But since it was in Python, the CPU usage ended too high for just scrapping a few information from the system and outputing json20:04:18
* @ckie:ckie.devckie (they/them) yawns20:05:18
@ckie:ckie.devckie (they/them)played Stray a bit earlier, was nice 20:05:30
@k0kada:matrix.orgk0kada (he/him)Need to go back to Tales of Arise20:06:22
@k0kada:matrix.orgk0kada (he/him)I just started Tsukihime Remake though20:06:34
@k0kada:matrix.orgk0kada (he/him)
In reply to @k0kada:matrix.org
It had a really nice design, everything was async and based on block updates
BTW, it was completely overkill for the job too. Kinda did just to prove it would work :P
20:13:46
@k0kada:matrix.orgk0kada (he/him)
In reply to @k0kada:matrix.org
It had a really nice design, everything was async and based on block updates
* BTW, it was completely overkill design for the job too. Kinda did just to prove it would work :P
20:13:56
@ckie:ckie.devckie (they/them):p20:22:28
13 Oct 2022
@hab25:matrix.org@hab25:matrix.org Hi all, if I have working a nix-doom-emacs setup and I want to add org-transclusion, which is in elpa but not part of a doom module, it is as simple as adding (package! org-transclusion) to my package.el, right? 15:05:24
@hab25:matrix.org@hab25:matrix.orgI'm having an error at installPhase15:06:24
@hab25:matrix.org@hab25:matrix.org * Hi all, if I have working a nix-doom-emacs setup and I want to add org-transclusion, which is in elpa but not part of a doom module, I just as add (package! org-transclusion) to my package.el, right? 15:07:02
@hab25:matrix.org@hab25:matrix.org *

This gives me an error at installPhase:

@nix { "action": "setPhase", "phase": "installPhase" }
installing
Parsing tar file...
Parsing tar file...done
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  tar--describe-as-link(nil)
  tar--check-descriptor(nil)
  tar-get-file-descriptor("org-transclusion-1.3.0/org-transclusion-pkg.el")
  package-tar-file-info()
  (if (derived-mode-p 'tar-mode) (package-tar-file-info) (package-buffer-info))
  (let ((pkg-desc (if (derived-mode-p 'tar-mode) (package-tar-file-info) (package-buffer-info)))) (package-unpack pkg-desc) pkg-desc)
  elpa2nix-install-from-buffer()
  (progn (if is-tar (insert-file-contents-literally file) (insert-file-contents file)) (if is-tar (progn (tar-mode))) (elpa2nix-install-from-buffer))
  (unwind-protect (progn (if is-tar (insert-file-contents-literally file) (insert-file-contents file)) (if is-tar (progn (tar-mode))) (elpa2nix-install-from-buffer)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (if is-tar (insert-file-contents-literally file) (insert-file-contents file)) (if is-tar (progn (tar-mode))) (elpa2nix-install-from-buffer)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))
  (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (if is-tar (insert-file-contents-literally file) (insert-file-contents file)) (if is-tar (progn (tar-mode))) (elpa2nix-install-from-buffer)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))))
  (let ((is-tar (string-match "\\.tar\\'" file))) (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (if is-tar (insert-file-contents-literally file) (insert-file-contents file)) (if is-tar (progn (tar-mode))) (elpa2nix-install-from-buffer)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))))
  elpa2nix-install-file("/nix/store/pkyxjznv0hg33x6x27j7pgkgjyhwmnrk-org-tr...")
  (progn (setq package-user-dir elpa) (elpa2nix-install-file archive))
  (let ((archive x0) (elpa x2)) (progn (setq package-user-dir elpa) (elpa2nix-install-file archive)))
  (if (null x3) (let ((archive x0) (elpa x2)) (progn (setq package-user-dir elpa) (elpa2nix-install-file archive))))
  (let* ((x2 (car-safe x1)) (x3 (cdr-safe x1))) (if (null x3) (let ((archive x0) (elpa x2)) (progn (setq package-user-dir elpa) (elpa2nix-install-file archive)))))
  (if (consp x1) (let* ((x2 (car-safe x1)) (x3 (cdr-safe x1))) (if (null x3) (let ((archive x0) (elpa x2)) (progn (setq package-user-dir elpa) (elpa2nix-install-file archive))))))
  (let* ((x0 (car-safe command-line-args-left)) (x1 (cdr-safe command-line-args-left))) (if (consp x1) (let* ((x2 (car-safe x1)) (x3 (cdr-safe x1))) (if (null x3) (let ((archive x0) (elpa x2)) (progn (setq package-user-dir elpa) (elpa2nix-install-file archive)))))))
  (if (consp command-line-args-left) (let* ((x0 (car-safe command-line-args-left)) (x1 (cdr-safe command-line-args-left))) (if (consp x1) (let* ((x2 (car-safe x1)) (x3 (cdr-safe x1))) (if (null x3) (let ((archive x0) (elpa x2)) (progn (setq package-user-dir elpa) (elpa2nix-install-file archive))))))))
  elpa2nix-install-package()
  command-line-1(("-l" "/nix/store/4jj63z4v1xp13rh2md053dccq920hd45-elpa2n..." "-f" "elpa2nix-install-package" "/nix/store/pkyxjznv0hg33x6x27j7pgkgjyhwmnrk-org-tr..." "/nix/store/6ikrz0plmbgkrlsmynzgydr2lsyil7h6-emacs-..."))
  command-line()
  normal-top-level()
15:07:43

Show newer messages


Back to Room ListRoom Version: 9