!ZmUSesoOjmVsKbzFbp:nixos.org

Nix Emacs

834 Members
All things Nix/Emacs! https://github.com/nix-community/emacs-overlay 190 Servers

Load older messages


SenderMessageTime
10 Jan 2025
@misha:pub.solarmishaThe concepten (concepts) maildir looks like this:16:14:01
@misha:pub.solarmishaimage.png
Download image.png
16:14:06
@misha:pub.solarmishaIf I save the email before sending it, I do not get the error. So it's not a big deal. I just never saw this behaviour before.16:16:57
@misha:pub.solarmisha If I understand things correctly, installing the Emacs packages using your nix files helps keeping the versions of your packages stable in between builds? Or do you already install specific versions of packages in your init.el? 16:20:43
@misha:pub.solarmisha I install all my Emacs packages in my configuration.nix. 16:20:59
@antifuchs:asf.computerantifuchs
In reply to @antifuchs:asf.computer

hrm, emacs-unstable from emacs-overlay has stopped building on macOS,

       > checking for AppKit/AppKit.h... no
       > configure: error: The include files (AppKit/AppKit.h etc) that
       > are required for a Nextstep build are missing or cannot be compiled.
       > Either fix this, or re-configure with the option '--without-ns'.

guess this is another issue with the nixpkgs-unstable framework change?

Update, this was me setting custom cflags that messed things up. Oops!
19:06:16
11 Jan 2025
@0x4d6165:catgirl.cloudMae Miller [it/she] changed their display name from 0x4d6165 to Mae Miller [it/she].04:50:45
@niklauzg:matrix.orgNiklauzThis is my first try at packaging anything w/i Nix, starting with the Guile-ARES-RS - any advice, pointers, or other feedback? https://gitlab.com/rapport-org/guile-ares-rs/-/blob/master/flake.nix?ref_type=heads21:21:05
@stephen:crabsin.spaceStephen DHow do people deal with large-ish emacs config files with home manager? I have everything in a huge string and it does not feel sustainable tbh 22:48:09
@stephen:crabsin.spaceStephen DI could move it into a single lisp file and then import that in my home manager config but that doesn't feel much more sustainable. Are people doing multi-file stuff? And if so, does anyone have any examples?22:48:40
@antifuchs:asf.computerantifuchsI have mine in a “literal” org file that’s literal only in the sense that the headlines fold (:23:34:22
@stephen:crabsin.spaceStephen Dhuh how does that work?23:36:28
12 Jan 2025
@antifuchs:asf.computerantifuchsYou embed emacs lisp source blocks. The emacs overlay has a parser for it, or you can invoke emacs to “tangle” the code blocks into a coherent Elisp file and use that as the config00:07:16
@stephen:crabsin.spaceStephen Ddo you happen to have an example?00:07:57
@antifuchs:asf.computerantifuchshttps://ryan.himmelwright.net/post/org-babel-setup/ has the general shape in a non-nix setup00:09:11
@stephen:crabsin.spaceStephen Dthank you :300:10:00
@antifuchs:asf.computerantifuchs if you google around, there's some examples of the nixified version using emacsWithPackagesFromUsePackage from emacs-overlay 00:11:42
@me:linj.techlinj
In reply to @antifuchs:asf.computer
I have mine in a “literal” org file that’s literal only in the sense that the headlines fold (:
an .el file together with comments using outline-minor-mode can also do folding
01:11:58
@antifuchs:asf.computerantifuchsYeah, that works too. I never found it very pleasant, and I use org for other stuff, so it was a good fit for me01:41:33
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب) joined the room.12:37:50
@derived_lush:matrix.orglushRedacted or Malformed Event16:40:51
@derived_lush:matrix.orglush *

I run emacs30 on NixOS unstable and I'm currently trying to get org-roam to work in emacs by installing emacsql-sqlite through the programs.emacs.extraPackages option of home-manager.
emacsql-sqlite is currently only available in the stable branch, not the unstable one.
I tried following this guide to put something like pkgsStable.emacsPackages.emacsql-sqlite in the option, but I always get >error: attribute pkgsStable missing

What am I doing wrong?

16:41:04
@derived_lush:matrix.orglush *

I run emacs30 on NixOS unstable and I'm currently trying to get org-roam to work in emacs by installing emacsql-sqlite through the programs.emacs.extraPackages option of home-manager.
emacsql-sqlite is currently only available in the stable branch, not the unstable one.
I tried following this guide to put something like pkgsStable.emacsPackages.emacsql-sqlite in the option, but I always get

error: attribute pkgsStable missing

What am I doing wrong?

16:41:09
@ian:graham.tokyo@ian:graham.tokyo left the room.23:19:46
13 Jan 2025
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب)Hello, I am new to nix. And I am using this library for my system config https://snowfall.org I can't figure out how to install emacs-pgtk with native-comp.17:49:01
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب)I read that the package that I am looking for is available using the https://github.com/nix-community/emacs-overlay, But I can't figure out how to use it?17:51:10
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب)* I read that the package that I am looking for is available in https://github.com/nix-community/emacs-overlay, But I can't figure out how to use it?17:51:25
@nakibrayane:matrix.orgRayane Nakib (ريان نقيب)This is the relevant documentation for applying overlays to config using snowfall lib: https://snowfall.org/guides/lib/overlays/17:52:17
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @nakibrayane:matrix.org
This is the relevant documentation for applying overlays to config using snowfall lib: https://snowfall.org/guides/lib/overlays/
That is for creating your own overlays.
17:52:43
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de) You need to have nix-emacs as an input in your flake and then you could configure it. 17:53:52

Show newer messages


Back to Room ListRoom Version: 6