!ZmUSesoOjmVsKbzFbp:nixos.org

Nix Emacs

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

Load older messages


SenderMessageTime
22 Nov 2024
@reddima100:matrix.orgDimaGcc and libgccjit are installed in my system12:08:20
@reddima100:matrix.orgDimaAnd also I get this: ⛔ Warning (comp): collect2: error: ld returned 1 exit status12:16:08
@reddima100:matrix.orgDimaIn async-native-compile-log: /nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin/ld: cannot find crti.o: No such file or directory /nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin/ld: cannot find -lgcc_s: No such file or directory12:20:50
@reddima100:matrix.orgDima

This code was used to built emacs:

{ config, lib, pkgs, ... }:
{
  environment.systemPackages = with pkgs; [
    # emacs29-pgtk
    ((emacs29-pgtk.override {
     #nativeComp = true;
     withNativeCompilation = true;
    }).overrideAttrs (old : {
    pname = "emacs";
    version = "29.4";
    #src = pkgs.emacs29-pgtk;
    src = fetchFromSavannah {
     repo = "emacs";
     rev = "29.4";
     sha256 = "sha256-FCP6ySkN9mAdp2T09n6foS2OciqZXc/54guRZ0B4Z2s=";
    };
     patches = [];
     configureFlags = old.configureFlags ++
        [
          #"--with-gnutls"
          #"--without-x"
          #"--without-ns"
          "--with-pgtk"
          #"--without-xwidgets"
          #"--without-native-compilation"
          "--with-png"
          "--with-jpeg"
          "--with-sound"
          "--with-libsystemd"
          #"--with-harfbuzz"
          "--with-json"
          "--with-dbus"
          #"--with-file-notifications=yes"
          #"--with-wide-int"
          #"--with-pdumper=yes"
          "--enable-checking=yes,glyphs" 
          "--enable-check-lisp-object-type"
        ];
     preConfigure = "CFLAGS='-O0 -g3'; ./autogen.sh";
     buildInputs = old.buildInputs ++ [
      autoconf
      dbus
      harfbuzz
      systemd
      texinfo
      gnutls
      pkg-config
      gtk3
      giflib
      libjpeg
      libpng
      librsvg
      libtiff
      ncurses
      xorg.libXpm
      libungif
      imagemagick
      zlib
      libgccjit
      jansson
     ];
    }))


    ];
}

12:57:25
@reddima100:matrix.orgDimaHas someone here built emacs for https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/DEBUG on nixos?15:49:03
@reddima100:matrix.orgDima
In reply to @reddima100:matrix.org
By the way, has someone migrated from straight/elpaca package manager to nix/nixos packages installation? Am I right that the only things which I need to do is just write: :straight nil for every package in my config and then write the list of package to my nix config?
the awnser emacsWithPackagesFromUsePackage
16:15:10
@reddima100:matrix.orgDima

Optionally provide extra packages not in the configuration file.

  extraEmacsPackages = epkgs: [
    epkgs.cask
  ];
16:15:35
24 Nov 2024
@ixlun:matrix.org@ixlun:matrix.org changed their display name from Matthew Leach to Matthew L.00:43:13
@chriscochrun:tfcconnection.orgChris Cochrun joined the room.20:24:40
25 Nov 2024
@stephen:crabsin.spaceStephen D joined the room.02:07:23
@webknot:matrix.orgWebknot joined the room.17:27:07
26 Nov 2024
@arbel:matrix.spacetime.technologyarbel joined the room.15:20:22
27 Nov 2024
@meidam:matrix.org@meidam:matrix.org left the room.10:58:16
28 Nov 2024
@tihuang:matrix.orgDaniel Huang joined the room.00:18:14
@ixlun:matrix.org@ixlun:matrix.org removed their display name Matthew L.22:33:02
@ixlun:matrix.org@ixlun:matrix.org left the room.22:35:10
@matt:1e0.ukMatt joined the room.22:52:54
29 Nov 2024
@deniel22:matrix.orgdeniel22 left the room.10:19:06
@deniel22:matrix.orgdeniel22 joined the room.10:21:01
@khaleghi:matrix.orgEndureAhead joined the room.17:23:03
1 Dec 2024
@zororg:matrix.orgzororgIs there a package to integrate eshell with nix-shell (nix shell ...) ? 04:39:29
@adis:blad.isadisbladis
In reply to @zororg:matrix.org
Is there a package to integrate eshell with nix-shell (nix shell ...) ?
You can use direnv + envrc
04:46:12
@zororg:matrix.orgzororg I use that. But for simply trying out packages in nix shell nixpkgs#lolcat
Although I use eat along with eshell
05:35:59
@zororg:matrix.orgzororgbut yea, thats a work around. Maybe I will make a dir with shell.nix there to act as playground for trying out things05:37:01
@aspendowntime:matrix.orgEden (they/it/she) changed their display name from Oktawia (it/they/she) to Nerissa (it/they/she).10:12:41
@antifuchs:asf.computerantifuchs

I'm recently seeing the following warning on a native-compiling emacs from the emacs overlay on macOS:

⛔ Warning (native-compiler): libgccjit.so: error: error invoking gcc driver
⛔ Warning (native-compiler): /nix/store/2l55wkklijm7g98nryvgdc8k7xxcb7kr-emacs-unstable-30.0.92/share/emacs/site-lisp/site-start.el: Error Internal native compiler error: "failed to compile", "/Users/asf/.emacs.d/eln-cache/30.0.92-6c3c1e81/site-start-ceed875f-8f4312e0.eln", "error invoking gcc driver"
16:35:26
@antifuchs:asf.computerantifuchsdid the closure change to no longer pull in the gcc JIT libraries?16:35:53
@aspendowntime:matrix.orgEden (they/it/she) changed their display name from Nerissa (it/they/she) to Nerissa (it/she).18:51:20
@bestlem:matrix.orgbestlem
In reply to @antifuchs:asf.computer

I'm recently seeing the following warning on a native-compiling emacs from the emacs overlay on macOS:

⛔ Warning (native-compiler): libgccjit.so: error: error invoking gcc driver
⛔ Warning (native-compiler): /nix/store/2l55wkklijm7g98nryvgdc8k7xxcb7kr-emacs-unstable-30.0.92/share/emacs/site-lisp/site-start.el: Error Internal native compiler error: "failed to compile", "/Users/asf/.emacs.d/eln-cache/30.0.92-6c3c1e81/site-start-ceed875f-8f4312e0.eln", "error invoking gcc driver"
I think the issue is that libgccjit does not work with the changes in the darwinstdenv
21:14:18
@antifuchs:asf.computerantifuchsOoooh21:14:32

Show newer messages


Back to Room ListRoom Version: 6