!ZmUSesoOjmVsKbzFbp:nixos.org

Nix Emacs

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

Load older messages


SenderMessageTime
13 Apr 2024
@me:linj.techlinj
In reply to @slot-:matrix.org
Do Emacs packages from the overlay get cached in the nix-community binary cache as well? I always seem to need to rebuild them
only pkgs.emacs.pkgs and pkgs.emacs-unstable.pkgs are built for now according to https://github.com/nix-community/emacs-overlay/blob/f3745199a37f2a6196d1d98a7912cd70e318aa7d/flake.nix#L42-L88
11:12:00
@af4nasev:matrix.org@af4nasev:matrix.org left the room.11:23:52
@slot-:matrix.orgSolidAh I see; thanks!12:11:27
@lxsameer:matrix.orglxsameer hey folks, I'm looking at the pkgs.emacsPackages.trivialBuild, why we don't native-compile instead of just byte-compile? 14:46:51
@me:linj.techlinj
In reply to @lxsameer:matrix.org
hey folks, I'm looking at the pkgs.emacsPackages.trivialBuild, why we don't native-compile instead of just byte-compile?
Acutally, native compilation is indeed done. See https://github.com/NixOS/nixpkgs/blob/978b2a29b8dcfa61155dcc30334fb2f148f27205/pkgs/build-support/emacs/generic.nix#L68
16:42:15
@lxsameer:matrix.orglxsameer
In reply to @me:linj.tech
Acutally, native compilation is indeed done. See https://github.com/NixOS/nixpkgs/blob/978b2a29b8dcfa61155dcc30334fb2f148f27205/pkgs/build-support/emacs/generic.nix#L68
cool, thank you
16:44:01
@versality:matrix.org@versality:matrix.org joined the room.16:46:12
14 Apr 2024
@ngn999:matrix.orgngnDid you meet this build error: https://github.com/nix-community/emacs-overlay/issues/39107:01:55
@misha:pub.solar@misha:pub.solar left the room.08:32:24
@aspendowntime:matrix.orgCelequeen changed their profile picture.17:34:26
@rootnode:matrix.orgrootnode joined the room.18:45:34
@rootnode:matrix.orgrootnode

Hi. I am trying to use org 9.7 and a newer version of org-contacts (using emacs-overlay), but it's not loading the newer version, still getting 9.6 when I do org-version.

Here's my snippet:

programs = {
      emacs = {
              enable = true;
              package = (pkgs.emacsWithPackagesFromUsePackage {
                config = ./config.org;
                defaultInitFile = true;
                alwaysTangle = true;
                package = pkgs.emacs-unstable-pgtk;
                alwaysEnsure = true;
                extraEmacsPackages = epkgs: [
                  epkgs.vterm
                  epkgs.use-package
                  epkgs.elpaDevelPackages.org
                  epkgs.elpaDevelPackages.org-contacts
                ];
              });
      };
    };
18:46:45
@rootnode:matrix.orgrootnodeWhat am I doing wrong?18:46:51
@lxsameer:matrix.orglxsameeris there any way to figure out the emacs package name of a nix package by looking at the derivation? 20:09:01
15 Apr 2024
@ngn999:matrix.orgngn
In reply to @ngn999:matrix.org
Did you meet this build error: https://github.com/nix-community/emacs-overlay/issues/391
Looks like the hash of smart parens is wrong.
00:26:09
@adis:blad.isadisbladisI think the proper fix here is to start unpacking the derivations before hashing02:32:51
@adis:blad.isadisbladisIt's annoying AF02:32:54
16 Apr 2024
@hastur:sigint.clubszatang joined the room.08:37:14
@picnoir:alternativebit.fr@picnoir:alternativebit.fr joined the room.11:48:01
17 Apr 2024
@aruzicka:matrix.org@aruzicka:matrix.org left the room.13:21:07
@lychee:lefishe.club@lychee:lefishe.club changed their display name from kay to kaylee.17:10:19
@versality:matrix.org@versality:matrix.org left the room.20:19:15
18 Apr 2024
@ngn999:matrix.orgngnsmartparens-mode still builds failed.06:23:41
19 Apr 2024
@grallo666:matrix.orggrallo666 joined the room.11:35:51
@grallo666:matrix.orggrallo666Redacted or Malformed Event11:41:50
@grallo666:matrix.orggrallo666 * Hey guys, did anyone succeed building emacs-jupyter, either nixpkgs version or the melpa one? I always run into an error >segmentation fault' in the setup script of 'stdenv-linux'. The line of crash looks like following: 'cd "${sourceRoot:-.}"'11:42:45
@grallo666:matrix.orggrallo666

Hey guys, did anyone succeed building emacs-jupyter, either nixpkgs version or the melpa one? I always run into an error
segmentation fault
in the setup script of
stdenv-linux.
The area of crash looks like following:

if [ "$curPhase" = unpackPhase ]; then                                    
        # make sure we can cd into the directory                              
        [ -n "${sourceRoot:-}" ] && chmod +x "${sourceRoot}"                  
                                                                              
        cd "${sourceRoot:-.}"                                                 
fi
11:51:04
@grallo666:matrix.orggrallo666I could note find any related issue or discussion online, but it has been like this for a few months at least. 11:53:16
@lychee:lefishe.club@lychee:lefishe.club changed their profile picture.12:19:34
@grallo666:matrix.orggrallo666Okay, so I found out that it does not seems to happen with the standard emacs version, though I am using emacs-pgtk. 12:41:05

Show newer messages


Back to Room ListRoom Version: 6