!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
17 Jun 2024
@_bifrost_acidbong=40hmm.st:aria-net.org@_bifrost_acidbong=40hmm.st:aria-net.org left the room.20:41:38
18 Jun 2024
@samuel-martineau:matrix.orgSamuel Martineau joined the room.01:00:04
@samuel-martineau:matrix.orgSamuel MartineauI am in a bit of a pickle and was wondering if someone could help. Ever since I updated from Emacs 28 to Emacs 29, the Emacs frame (macOS window) becomes blank during resizing. I am fairly new to Emacs, so I feel quite lost as how to debug this. Anybody got an idea?01:03:12
@antifuchs:asf.computerantifuchsI have a cargo-culted thing that I cribbed from deep in an issue once, lemme look02:12:26
@antifuchs:asf.computerantifuchsI’m not sure it actually does help. But I haven’t seen windows blanking after adding this.02:12:52
@antifuchs:asf.computerantifuchs

https://github.com/NixOS/nixpkgs/issues/109997 is the issue, and this is how I build emacs:

(emacs-unstable.override {
  srcRepo = true;
  withNativeCompilation = true;
  #withXwidgets = true;
})
.overrideAttrs (
  o: {
    buildInputs = o.buildInputs ++ [WebKit];

    # This apparently fixes flickering on 11.0 and above;
    CFLAGS = "-g -O3 -DMAC_OS_X_VERSION_MAX_ALLOWED=110203";
  }
)
02:18:13
@antifuchs:asf.computerantifuchs *

Samuel Martineau: https://github.com/NixOS/nixpkgs/issues/109997 is the issue, and this is how I build emacs:

(emacs-unstable.override {
  srcRepo = true;
  withNativeCompilation = true;
  #withXwidgets = true;
})
.overrideAttrs (
  o: {
    buildInputs = o.buildInputs ++ [WebKit];

    # This apparently fixes flickering on 11.0 and above;
    CFLAGS = "-g -O3 -DMAC_OS_X_VERSION_MAX_ALLOWED=110203";
  }
)
02:18:40
@yusu:matrix.orgJosefine changed their display name from Jonas Katzke to Josefine.07:32:22
@qbit:tapenet.orgqbitanyone using eshell?16:32:12
@qbit:tapenet.orgqbitseems it tries to make a directory in the store16:32:28
@qbit:tapenet.orgqbitand fails to actually start16:32:33
19 Jun 2024
@gas.station.sushi:matrix.orggas.station.sushi joined the room.00:15:17
@zororg:matrix.orgzororg
In reply to @qbit:tapenet.org
anyone using eshell?
I use it. But idk what issue you are facing
06:32:38
@qbit:tapenet.orgqbitWell, my init is in the store.. so eMacs often wants to write to site-lisp dirs there10:30:51
@adham-omran:matrix.org@adham-omran:matrix.org

What's the maintainer status for the Emacs Overlay?

The about section for the project mentions @adisbladis, who I can not find here. He has not been active since late March of this year, the issues in the project are slowly accumulating for Emacs 30.

11:43:06
@morgrimm:matrix.orgremi-gelinas Adis is one of the nix-community admins, he's around 11:44:25
@morgrimm:matrix.orgremi-gelinas
In reply to @adham-omran:matrix.org

What's the maintainer status for the Emacs Overlay?

The about section for the project mentions @adisbladis, who I can not find here. He has not been active since late March of this year, the issues in the project are slowly accumulating for Emacs 30.

I'm not sure why you can't find him, you can ping him here
11:45:35
@adham-omran:matrix.org@adham-omran:matrix.org
In reply to @morgrimm:matrix.org
I'm not sure why you can't find him, you can ping him here
Perhaps a Matrix client error on my end
11:46:01
@adham-omran:matrix.org@adham-omran:matrix.org adisbladis: okay now it shows up, sorry 11:46:15
@adham-omran:matrix.org@adham-omran:matrix.org *

What's the maintainer status for the Emacs Overlay?

The about section for the project mentions @adisbladis, who I can not find here. He has not been active since late March of this year, the issues in the project are slowly accumulating for Emacs 30.

11:46:25
@adham-omran:matrix.org@adham-omran:matrix.org
In reply to @morgrimm:matrix.org
Adis is one of the nix-community admins, he's around
Oh, that's good to hear, thank you
11:47:34
20 Jun 2024
@daniel573:matrix.orgDaniel Kahlenberg

who can help me packaging https://github.com/kjambunathan/org-mode-ox-odt ?

I have:

ox-odt = (emacs.pkgs.trivialBuild rec {
      pname = "ox-odt";
      version = "1";
      src = "${inputs.org-mode-ox-odt}";
      meta = {
        description = "This is a fork of Org's ODT backend and adds many useful improvements to that backend. This fork is authoritative because it is maintained by the original author of that backend.";
      };
    });

But keep getting:

building of '/nix/store/0g91ms356pm9g8k2i4dz4rfaj36cdvax-emacs-ox-odt-1.drv^out' from .drv file: done
error: builder for '/nix/store/0g91ms356pm9g8k2i4dz4rfaj36cdvax-emacs-ox-odt-1.drv' failed with exit code 1;
last 11 log lines:
> Running phase: unpackPhase
> unpacking source archive /nix/store/97w4fxlccd6189rjb9xzsc1zp4rx8k34-source
> source root is source
> Running phase: patchPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: configurePhase
> no configure script, doing nothing
> Running phase: buildPhase
> Running phase: installPhase
> install: missing destination file operand after '/nix/store/d3r9fp9p1ndrzxq74x9lymhmmcw5gc42-emacs-ox-odt-1/share/emacs/site-lisp'
> Try 'install --help' for more information.
For full logs, run 'nix log /nix/store/0g91ms356pm9g8k2i4dz4rfaj36cdvax-emacs-ox-odt-1.drv'.

13:11:15
@me:linj.techlinj
In reply to @daniel573:matrix.org

who can help me packaging https://github.com/kjambunathan/org-mode-ox-odt ?

I have:

ox-odt = (emacs.pkgs.trivialBuild rec {
      pname = "ox-odt";
      version = "1";
      src = "${inputs.org-mode-ox-odt}";
      meta = {
        description = "This is a fork of Org's ODT backend and adds many useful improvements to that backend. This fork is authoritative because it is maintained by the original author of that backend.";
      };
    });

But keep getting:

building of '/nix/store/0g91ms356pm9g8k2i4dz4rfaj36cdvax-emacs-ox-odt-1.drv^out' from .drv file: done
error: builder for '/nix/store/0g91ms356pm9g8k2i4dz4rfaj36cdvax-emacs-ox-odt-1.drv' failed with exit code 1;
last 11 log lines:
> Running phase: unpackPhase
> unpacking source archive /nix/store/97w4fxlccd6189rjb9xzsc1zp4rx8k34-source
> source root is source
> Running phase: patchPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: configurePhase
> no configure script, doing nothing
> Running phase: buildPhase
> Running phase: installPhase
> install: missing destination file operand after '/nix/store/d3r9fp9p1ndrzxq74x9lymhmmcw5gc42-emacs-ox-odt-1/share/emacs/site-lisp'
> Try 'install --help' for more information.
For full logs, run 'nix log /nix/store/0g91ms356pm9g8k2i4dz4rfaj36cdvax-emacs-ox-odt-1.drv'.


{
  outputs =
    { self, nixpkgs }:
    let
      system = "x86_64-linux";
      pkgs = nixpkgs.legacyPackages.${system};
    in
    {
      packages.${system}.default = pkgs.emacs.pkgs.melpaBuild {
        pname = "ox-odt";
        # nix-style unstable version 0-unstable-20240427 can be used after
        # https://github.com/NixOS/nixpkgs/pull/316726 reaches you
        version = "20240427.0";
        src = pkgs.fetchFromGitHub {
          owner = "kjambunathan";
          repo = "org-mode-ox-odt";
          rev = "89d3b728c98d3382a8e6a0abb8befb03d27d537b";
          hash = "sha256-/AXechWnUYiGYw/zkVRhUFwhcfknTzrC4oSWoa80wRw=";
        };
        # not needed after https://github.com/NixOS/nixpkgs/pull/316107 reaches you
        commit = "foo";

        # use :files to include only related files
        # https://github.com/melpa/melpa?tab=readme-ov-file#recipe-format
        recipe = pkgs.writeText "recipe" ''
          (ox-odt :fetcher git :url "")
        '';
      };
    };
}


15:57:42
21 Jun 2024
@daniel573:matrix.orgDaniel Kahlenberg
In reply to @me:linj.tech

{
  outputs =
    { self, nixpkgs }:
    let
      system = "x86_64-linux";
      pkgs = nixpkgs.legacyPackages.${system};
    in
    {
      packages.${system}.default = pkgs.emacs.pkgs.melpaBuild {
        pname = "ox-odt";
        # nix-style unstable version 0-unstable-20240427 can be used after
        # https://github.com/NixOS/nixpkgs/pull/316726 reaches you
        version = "20240427.0";
        src = pkgs.fetchFromGitHub {
          owner = "kjambunathan";
          repo = "org-mode-ox-odt";
          rev = "89d3b728c98d3382a8e6a0abb8befb03d27d537b";
          hash = "sha256-/AXechWnUYiGYw/zkVRhUFwhcfknTzrC4oSWoa80wRw=";
        };
        # not needed after https://github.com/NixOS/nixpkgs/pull/316107 reaches you
        commit = "foo";

        # use :files to include only related files
        # https://github.com/melpa/melpa?tab=readme-ov-file#recipe-format
        recipe = pkgs.writeText "recipe" ''
          (ox-odt :fetcher git :url "")
        '';
      };
    };
}


Thank you so much !
07:25:33
@daniel573:matrix.orgDaniel Kahlenberg
In reply to @me:linj.tech

{
  outputs =
    { self, nixpkgs }:
    let
      system = "x86_64-linux";
      pkgs = nixpkgs.legacyPackages.${system};
    in
    {
      packages.${system}.default = pkgs.emacs.pkgs.melpaBuild {
        pname = "ox-odt";
        # nix-style unstable version 0-unstable-20240427 can be used after
        # https://github.com/NixOS/nixpkgs/pull/316726 reaches you
        version = "20240427.0";
        src = pkgs.fetchFromGitHub {
          owner = "kjambunathan";
          repo = "org-mode-ox-odt";
          rev = "89d3b728c98d3382a8e6a0abb8befb03d27d537b";
          hash = "sha256-/AXechWnUYiGYw/zkVRhUFwhcfknTzrC4oSWoa80wRw=";
        };
        # not needed after https://github.com/NixOS/nixpkgs/pull/316107 reaches you
        commit = "foo";

        # use :files to include only related files
        # https://github.com/melpa/melpa?tab=readme-ov-file#recipe-format
        recipe = pkgs.writeText "recipe" ''
          (ox-odt :fetcher git :url "")
        '';
      };
    };
}


nix-store -r /nix/store/992rd3blxl3vm1z2hlmmhxrshyxm20v8-emacs-ox-odt-20240427.0.drv working like a charm with your recipe.
07:26:47
@zmberber:matrix.orgZM Berberwhen you edit nixpkgs, do you have the same problem as i have that magit is really slow? what setup do you have for editing nixpkgs?12:15:16
@linus:schreibt.jetzt@linus:schreibt.jetzt left the room.14:03:32
@sjuehx:matrix.org@sjuehx:matrix.org left the room.20:08:59
22 Jun 2024
@edgar.vincent:matrix.orgedgar.vincentI'm mentioning this EXWM-related issue here https://github.com/NixOS/nixpkgs/issues/319541 just in case, because I didn't know which maintainer I should mention. There might be candidates lurking in here :)13:26:21
@bumperboat:matrix.org@bumperboat:matrix.org changed their display name from bumperboat (UTC+1) to bumperboat (UTC+2).16:47:47

Show newer messages


Back to Room ListRoom Version: 6