!ZmUSesoOjmVsKbzFbp:nixos.org

Nix Emacs

747 Members
All things Nix/Emacs! https://github.com/nix-community/emacs-overlay | For Doom Emacs: https://matrix.to/#/#doom-emacs:nixos.org170 Servers

Load older messages


SenderMessageTime
15 Aug 2024
@me:linj.techlinj* Thanks!04:51:35
@zororg:matrix.orgzororgCan we get a ELI5 version on this? How does it affect emacs packages for users? is it centered around melpa build?05:08:24
@zororg:matrix.orgzororg * Hey, Can we please get a ELI5 version on this? How does it affect emacs packages for users? is it centered around melpa build? As a user, am curious whats are these big changes05:09:06
@adis:blad.isadisbladis
In reply to @zororg:matrix.org
Hey, Can we please get a ELI5 version on this?

How does it affect emacs packages for users?

is it centered around melpa build?

As a user, am curious whats are these big changes
Adds support for https://github.com/NixOS/nixpkgs/pull/119942 style
05:12:52
@adis:blad.isadisbladisAs a user it doesn't really affect you05:13:15
@adis:blad.isadisbladisIt affects how we can write expressions and how they behave re overrides05:13:33
@adis:blad.isadisbladis
In reply to @adis:blad.is
As a user it doesn't really affect you
You shouldn't notice unless you're authoring expressions yourself
05:16:43
@zororg:matrix.orgzororgoh, thank you for the info!10:14:39
@pareto-optimal-dev:matrix.orgpareto-optimal-devI'm getting an error updating emacs-overlay just now where the builder for emacs-pdf-tools says emacs is missing. I think it could be related to https://github.com/NixOS/nixpkgs/pull/330589 maybe? ``` $ sudo nixos-rebuild switch --flake . building the system configuration... error: builder for '/nix/store/5xvm6nazj2kqikhwq03hr8l5k4k6z3sh-emacs-pdf-tools-20240429.407.drv' failed with exit code 127; last 10 log lines: > rm -f libsynctex.a > ar cru libsynctex.a libsynctex_a-synctex_parser.o libsynctex_a-synctex_parser_utils.o > ar: `u' modifier ignored since `D' is the default (see `U') > ranlib libsynctex.a > gcc -Wall -I/nix/store/sa2vr5rkh19pvy9j4hkb4lk95nlhqpix-glib-2.80.4-dev/include/glib-2.0 -I/nix/store/7lr9qdizm42pf6clysg7syrky0si8aab-glib-2.80.4/lib/glib-2.0/include -I/nix/store/iimbkzh1dvwbxfycdh31acxqwfwv87zr-poppler-glib-24.02.0-dev/include/poppler/glib -I/nix/store/3v10x1zfcd17wlkd87rl1q8gk3d878vw-cairo-1.18.0-dev/include/cairo -I/nix/store/cg0s3ndgdlvxsfpsqdsas9qx4fdpd61b-freetype-2.13.2-dev/include/freetype2 -I/nix/store/cg0s3ndgdlvxsfpsqdsas9qx4fdpd61b-freetype-2.13.2-dev/include -I/nix/store/sa2vr5rkh19pvy9j4hkb4lk95nlhqpix-glib-2.80.4-dev/include -I/nix/store/sa2vr5rkh19pvy9j4hkb4lk95nlhqpix-glib-2.80.4-dev/include/glib-2.0 -I/nix/store/7lr9qdizm42pf6clysg7syrky0si8aab-glib-2.80.4/lib/glib-2.0/include -I/nix/store/iimbkzh1dvwbxfycdh31acxqwfwv87zr-poppler-glib-24.02.0-dev/include/poppler -I/nix/store/0n0vsm5syicn4lz4fn00aaa7kq960x02-libpng-apng-1.6.43-dev/include/libpng16 -g -O2 -o epdfinfo epdfinfo-epdfinfo.o -L/nix/store/7lr9qdizm42pf6clysg7syrky0si8aab-glib-2.80.4/lib -lglib-2.0 -L/nix/store/c7kay00dgqhipkrkm2nh8mfc7xsdv4pg-poppler-glib-24.02.0/lib -L/nix/store/jpa6i63siv75vvwm91h12zhnn4hsrpn6-cairo-1.18.0/lib -L/nix/store/7lr9qdizm42pf6clysg7syrky0si8aab-glib-2.80.4/lib -lpoppler-glib -lgobject-2.0 -lglib-2.0 -lcairo -L/nix/store/c7kay00dgqhipkrkm2nh8mfc7xsdv4pg-poppler-glib-24.02.0/lib -lpoppler -L/nix/store/3rmghpv8fapbmng692rm66b2d46px4bk-libpng-apng-1.6.43/lib -lpng16 libsynctex.a -L/nix/store/zm7nh67qxgyski4j23vyd993kbmw3248-zlib-1.3.1/lib -lz -lm > /nix/store/x7yyxvwy1f9hlx72rzrgx069jyf7hxwr-binutils-2.42/bin/ld: epdfinfo-epdfinfo.o: in function `mktempfile': > /build/source/server/epdfinfo.c:354:(.text+0xfe6): warning: the use of `tempnam' is dangerous, better use `mkstemp' > make[2]: Leaving directory '/build/source/server' > make[1]: Leaving directory '/build/source/server' > /nix/store/hix7sl0wxajb5aq14afjdvzc3w0i8b14-stdenv-linux/setup: line 1707: emacs: command not found ```16:44:40
@pareto-optimal-dev:matrix.orgpareto-optimal-devanyone else having this issue or know a fix?16:44:59
@pareto-optimal-dev:matrix.orgpareto-optimal-dev
In reply to pareto-optimal-dev
anyone else having this issue or know a fix?
Just removing pdf-tools from my configuration is an acceptable workaround for me for now, but it does seem like there was a regression.
16:47:12
@pareto-optimal-dev:matrix.orgpareto-optimal-devThe build on hydra passes though with same revision: https://hydra.nixos.org/build/26952982416:51:18
@pareto-optimal-dev:matrix.orgpareto-optimal-devSo maybe it's something specific to it being installed via: ``` pkgs.emacsWithPackagesFromUsePackage { # both emacs and emacs-pgtk have this error # package = pkgs.inputs.emacs-overlay.emacs-pgtk package = pkgs.emacs; } ```16:52:50
@me:linj.techlinj @pareto-optimal-dev:matrix.org: It is presumably not caused by the pr you link because that pr is in staging and presumably you do not use the staging branch of nixpkgs, do you? 16:53:38
@pareto-optimal-dev:matrix.orgpareto-optimal-devlinj: Good catch, I didn't catch that while skimming for large recent changes that could be relevant.16:54:14
@me:linj.techlinjI would suggest try to make a minimal reproducible example first16:54:47
@me:linj.techlinj * I would suggest tring to make a minimal reproducible example first16:54:54
@me:linj.techlinjThen you are likely to "solve" your issue or you can report it to the right place :016:55:55
@me:linj.techlinj * Then you are likely to "solve" your issue or you can report it to the right place :)16:56:00
@me:linj.techlinj * Then you are likely to "solve" your issue and if not you can report it to the right place :)16:56:20
@me:linj.techlinj * I would suggest trying to make a minimal reproducible example first16:57:08
@pareto-optimal-dev:matrix.orgpareto-optimal-devDone: ``` nix shell --impure --expr '((import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/c3aa7b8938b17aebd2deecf7be0636000d62a2b9.tar.gz") { overlays = [(import (builtins.fetchTarball {url = "https://github.com/nix-community/emacs-overlay/archive/d2632c3a229d05790ca574640aae9bdeab939bc0.tar.gz"; })) ];}).emacsWithPackages (e: [ e.pdf-tools ])).overrideAttrs (_: { pname = "emacs"; })' error: builder for '/nix/store/5xvm6nazj2kqikhwq03hr8l5k4k6z3sh-emacs-pdf-tools-20240429.407.drv' failed with exit code 127; last 10 log lines: > rm -f libsynctex.a > ar cru libsynctex.a libsynctex_a-synctex_parser.o libsynctex_a-synctex_parser_utils.o > ar: `u' modifier ignored since `D' is the default (see `U') > ranlib libsynctex.a > gcc -Wall -I/nix/store/sa2vr5rkh19pvy9j4hkb4lk95nlhqpix-glib-2.80.4-dev/include/glib-2.0 -I/nix/store/7lr9qdizm42pf6clysg7syrky0si8aab-glib-2.80.4/lib/glib-2.0/include -I/nix/store/iimbkzh1dvwbxfycdh31acxqwfwv87zr-poppler-glib-24.02.0-dev/include/poppler/glib -I/nix/store/3v10x1zfcd17wlkd87rl1q8gk3d878vw-cairo-1.18.0-dev/include/cairo -I/nix/store/cg0s3ndgdlvxsfpsqdsas9qx4fdpd61b-freetype-2.13.2-dev/include/freetype2 -I/nix/store/cg0s3ndgdlvxsfpsqdsas9qx4fdpd61b-freetype-2.13.2-dev/include -I/nix/store/sa2vr5rkh19pvy9j4hkb4lk95nlhqpix-glib-2.80.4-dev/include -I/nix/store/sa2vr5rkh19pvy9j4hkb4lk95nlhqpix-glib-2.80.4-dev/include/glib-2.0 -I/nix/store/7lr9qdizm42pf6clysg7syrky0si8aab-glib-2.80.4/lib/glib-2.0/include -I/nix/store/iimbkzh1dvwbxfycdh31acxqwfwv87zr-poppler-glib-24.02.0-dev/include/poppler -I/nix/store/0n0vsm5syicn4lz4fn00aaa7kq960x02-libpng-apng-1.6.43-dev/include/libpng16 -g -O2 -o epdfinfo epdfinfo-epdfinfo.o -L/nix/store/7lr9qdizm42pf6clysg7syrky0si8aab-glib-2.80.4/lib -lglib-2.0 -L/nix/store/c7kay00dgqhipkrkm2nh8mfc7xsdv4pg-poppler-glib-24.02.0/lib -L/nix/store/jpa6i63siv75vvwm91h12zhnn4hsrpn6-cairo-1.18.0/lib -L/nix/store/7lr9qdizm42pf6clysg7syrky0si8aab-glib-2.80.4/lib -lpoppler-glib -lgobject-2.0 -lglib-2.0 -lcairo -L/nix/store/c7kay00dgqhipkrkm2nh8mfc7xsdv4pg-poppler-glib-24.02.0/lib -lpoppler -L/nix/store/3rmghpv8fapbmng692rm66b2d46px4bk-libpng-apng-1.6.43/lib -lpng16 libsynctex.a -L/nix/store/zm7nh67qxgyski4j23vyd993kbmw3248-zlib-1.3.1/lib -lz -lm > /nix/store/x7yyxvwy1f9hlx72rzrgx069jyf7hxwr-binutils-2.42/bin/ld: epdfinfo-epdfinfo.o: in function `mktempfile': > /build/source/server/epdfinfo.c:354:(.text+0xfe6): warning: the use of `tempnam' is dangerous, better use `mkstemp' > make[2]: Leaving directory '/build/source/server' > make[1]: Leaving directory '/build/source/server' > /nix/store/hix7sl0wxajb5aq14afjdvzc3w0i8b14-stdenv-linux/setup: line 1707: emacs: command not found For full logs, run 'nix log /nix/store/5xvm6nazj2kqikhwq03hr8l5k4k6z3sh-emacs-pdf-tools-20240429.407.drv'. error: 1 dependencies of derivation '/nix/store/1jll9w3lnmhaza5ljzj73lwf431a2bfb-emacs-with-packages-29.4.drv' failed to build ``` I'll also make an issue though.17:01:59
@pareto-optimal-dev:matrix.orgpareto-optimal-devHere is a link to the issue: https://github.com/nix-community/emacs-overlay/issues/41917:06:36
18 Aug 2024
@adham-omran:matrix.org@adham-omran:matrix.org left the room.07:32:41
19 Aug 2024
@mequbic:matrix.orgiqubic (she/her) So, I'm using NixOS and I just set my locale to en_GB.UTF-8 but ispell still wants to default to American English spellings. Is there a way I can get this to default to British English spellings? I'm in the US, but in general, I prefer GB spellings. 01:44:03
@mequbic:matrix.orgiqubic (she/her) * So, I'm using NixOS and I just set my locale to en_GB.UTF-8 but ispell still wants to default to American English spellings. Is there a way I can get this to default to British English spellings? I'm in the US, but in general, I prefer GB spellings. 01:44:12
@mequbic:matrix.orgiqubic (she/her) Oh, it turns out that if you have both aspell and hunspell installed, ispell will prefer aspell. Removing aspell fixes the issue. 02:16:31
@mequbic:matrix.orgiqubic (she/her) Yeah... now I'm running into a weird issue. Any time I try to run ispell to get something spell-checked, I'm getting the following message: ispell-find-hunspell-dictionaries: Can’t find Hunspell dictionary with a .aff affix file 02:27:41
@mequbic:matrix.orgiqubic (she/her)https://discourse.nixos.org/t/hunspell-not-working-with-emacs-when-using-nixos/5081002:57:04
@alejandrosame:matrix.org@alejandrosame:matrix.org left the room.08:51:34

Show newer messages


Back to Room ListRoom Version: 6