6 Jan 2025 |
adisbladis | Nope. That would still be using the default nixpkgs emacs derivation. We don't override the default, we add more variants. | 02:48:08 |
adisbladis | The overlay doesn't contain a version of stable emacs, but you can try with emacs-unstable which is currently 30.0.93 | 02:51:19 |
ldeck | Aha! My mistake. Okay thanks, will try emacs-unstable. | 02:53:30 |
ldeck | Trying emacs-unstable I get the following error when attempting to hm switch... any pointers?
Error: error ("/nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio.el" "Type aio-select missing from typeof-types!")
signal(error ("/nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio.el" "Type aio-select missing from typeof-types!"))
comp--native-compile("/nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio.el")
batch-native-compile()
command-line-1(("-f" "package-activate-all" "--eval" "(setq native-comp-eln-load-path (cdr native-comp-eln-load-path))" "--eval" "(let ((default-directory \"/nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp\")) (normal-top-level-add-subdirs-to-load-path))" "--eval" "(setq large-file-warning-threshold nil)" "--eval" "(setq byte-compile-error-on-warn nil)" "-f" "batch-native-compile" "/nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio.el"))
command-line()
normal-top-level()
/nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio.el: "Type aio-select missing from typeof-types!"
xargs: sh: exited with status 255; aborting
error: builder for '/nix/store/2606rq5z81f8hnf19cmmps4ga2ji6hw6-emacs-aio-20200610.1904.drv' failed with exit code 124;
last 25 log lines:
> Compiling /nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio-autoloads.el...
> Compiling /nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio-pkg.el...
>
> In toplevel form:
> aio-pkg.el:1:1: Warning: file has no ‘lexical-binding’ directive on its first line
> Compiling /nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio.el...
> Done (Total of 1 file compiled, 2 skipped)
> Parsing tar file...
> Parsing tar file...done
> sh -c 'emacs --batch -f package-activate-all --eval '\''(setq native-comp-eln-load-path (cdr native-comp-eln-load-path))'\'' --eval '\''(let ((default-directory "/nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp")) (normal-top-level-add-subdirs-to-load-path))'\'' --eval '\''(setq large-file-warning-threshold nil)'\'' --eval '\''(setq byte-compile-error-on-warn nil)'\'' -f batch-native-compile /nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio-pkg.el || exit $?'
> sh -c 'emacs --batch -f package-activate-all --eval '\''(setq native-comp-eln-load-path (cdr native-comp-eln-load-path))'\'' --eval '\''(let ((default-directory "/nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp")) (normal-top-level-add-subdirs-to-load-path))'\'' --eval '\''(setq large-file-warning-threshold nil)'\'' --eval '\''(setq byte-compile-error-on-warn nil)'\'' -f batch-native-compile /nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio-autoloads.el || exit $?'
> sh -c 'emacs --batch -f package-activate-all --eval '\''(setq native-comp-eln-load-path (cdr native-comp-eln-load-path))'\'' --eval '\''(let ((default-directory "/nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp")) (normal-top-level-add-subdirs-to-load-path))'\'' --eval '\''(setq large-file-warning-threshold nil)'\'' --eval '\''(setq byte-compile-error-on-warn nil)'\'' -f batch-native-compile /nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio.el || exit $?'
>
> In toplevel form:
> /nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio-pkg.el:1:1: Warning: file has no ‘lexical-binding’ directive on its first line
>
> Error: error ("/nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio.el" "Type aio-select missing from typeof-types!")
> signal(error ("/nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio.el" "Type aio-select missing from typeof-types!"))
> comp--native-compile("/nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio.el")
> batch-native-compile()
> command-line-1(("-f" "package-activate-all" "--eval" "(setq native-comp-eln-load-path (cdr native-comp-eln-load-path))" "--eval" "(let ((default-directory \"/nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp\")) (normal-top-level-add-subdirs-to-load-path))" "--eval" "(setq large-file-warning-threshold nil)" "--eval" "(setq byte-compile-error-on-warn nil)" "-f" "batch-native-compile" "/nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio.el"))
> command-line()
> normal-top-level()
> /nix/store/qbj18aym2jmnvahar63p5x6b2y23xlj4-emacs-aio-20200610.1904/share/emacs/site-lisp/elpa/aio-20200610.1904/aio.el: "Type aio-select missing from typeof-types!"
> xargs: sh: exited with status 255; aborting
For full logs, run 'nix-store -l /nix/store/2606rq5z81f8hnf19cmmps4ga2ji6hw6-emacs-aio-20200610.1904.drv'.
error: 1 dependencies of derivation '/nix/store/nqz86fnjlybm8mi1zdhch16v367m2j69-emacs-docker-20241223.1023.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dr86z3h8d25f3kawgxk1gipv2y2m3nyr-emacs-hm-early-init-0.1.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vziprdw2g2whbjs2nwjm1qynhpv9fcws-emacs-hm-init-0.1.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/zkypzic24pyfnsnq6m5f7jbhp2gmhq91-emacs-unstable-with-packages-30.0.93.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9kappypmhvzvna5r2r1q162wg0zg01lb-home-manager-applications.drv' failed to build
error: 1 dependencies of derivation '/nix/store/b7xxqlz2i8ifpk1x0x416rc45f9pghwr-home-manager-fonts.drv' failed to build
error: 1 dependencies of derivation '/nix/store/jff9nqdyy6d5rd1q6qg01iy8yis93xjs-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ykdk72vqrgdsqpbrip6k56v6kfaxps51-home-manager-generation.drv' failed to build
| 03:38:40 |
ldeck | The same error occurred attempting to use nixpkgs.emacs30. | 03:44:21 |
ldeck | Any suggestions adisbladis ? | 03:45:05 |
adisbladis | Redacted or Malformed Event | 03:59:04 |
adisbladis | I dunno. I saw someone else having issue with that package too https://github.com/nix-community/nix-emacs/issues/64 | 04:00:10 |
adisbladis | I can reproduce that issue on emacs30, but not on emacs29, that seems to be an emacs native compilation regression.
Possibly related: https://mail.gnu.org/archive/html/bug-gnu-emacs/2024-03/msg00380.html | 04:08:52 |
ldeck | Thanks - hmm, that's March 2024... 9 months ago, unless the issue is still there. | 04:25:36 |
ldeck | Yeah I also don't see that with emacs29, but I then get the issue with libgccjit.so missing. | 04:28:15 |
linj | @ldeck:matrix.org You can override aio locally like this https://github.com/NixOS/nixpkgs/pull/370021/files | 04:30:40 |
linj | here is the upstream isssue report https://github.com/skeeto/emacs-aio/issues/31 | 04:31:07 |
ldeck | Would you mind helping me understand how to do that locally in my hm config? | 04:39:10 |
linj | sure, just a bit busy now | 04:41:52 |
ldeck | All good -- whenever suits you. Much appreciated! | 04:42:55 |
linj | programs.emacs.overrides = final: prev: {
aio = prev.aio.overrideAttrs { ignoreCompilationError = true; };
};
| 05:39:47 |
linj | that just "fixes" the build, not sure if aio works at runtime | 05:40:44 |
ldeck | cool, thanks ! I'll give it a go and report back | 05:41:25 |
ldeck | So far so good linj - thanks very much! 🏏 | 06:31:50 |
bestlem | Re emacs 29 nixpkgs-unstable has been fixed for a few weeks for the libgccjit issue | 12:37:30 |
8 Jan 2025 |
ldeck | Thanks. I'll have to reconsider whether to live on the bleeding edge or not. Some time ago I switched to using the release branch; can't recall why. | 02:12:15 |
bestlem |
You can just use emacs from unstable and all other packages from the release branch for less risk
| 11:20:45 |
| lush joined the room. | 11:26:45 |
misha | Hi all, quick question: I installed hunspell, and I'm using ispell in Emacs. What is the default location of the personal dictionary? I accidentally saved a wrongly spelled word and I can't find where it is stored. | 23:17:37 |
9 Jan 2025 |
lush | I can't seem to get org-roam working with NixOS and emacs30. I always get the following error:
error: Package ‘emacsql-sqlite’ (version 1.0.0) is unavailable
I tried following this solution, but there doesn't seem to be a emacsql-sqlite package available in nixpkgs, just emqcsql.
Any pointers what else I could do?
| 07:22:10 |
lush | ok, it seems I can just pass org-roam it via home-managers emacs.extraPackages and it works.
But I'd prefer to not really use nix to configure emacs and just do everything via init.el etc. manually.. | 07:48:23 |
10 Jan 2025 |
antifuchs | 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?
| 02:32:03 |
| @oc45ujef:fau.de left the room. | 14:05:33 |
misha | Hi all, for a few years now I've been a big fan of mu4e. I recently moved to NixOS and everything works smoothly, except some small things. One of them is that after sending an email, I get this error:
error in process filter: mu4e-error: [mu4e] Error 104: file @ '/home/misha/Maildir/uva/Concepten/cur/1736525137.e737d11d370a7345.ml1:2,DS' is not readable
error in process filter: [mu4e] Error 104: file @ '/home/misha/Maildir/uva/Concepten/cur/1736525137.e737d11d370a7345.ml1:2,DS' is not readable
| 16:13:29 |