emacs icon indicating copy to clipboard operation
emacs copied to clipboard

Can install from flake/registry, cannot build/incorporate from flake/overlay

Open jonathanwilner opened this issue 8 months ago • 1 comments

Hi,

I love this version of Emacs for MacOS - both the Yabai window patch + the support for term are lifesavers.

I cannot figure out how to use the flake in my config directly to become either the pkgs.emacs or pkgs.emacs-unstable replacement. I've tried via an overlay as well as via incorporating the flake directly.

If I install via nix registry, nix profile, it works fine.

If I try to install via the overlay / flake approach, I get an error attempting to build mesa for some reason.

error: builder for '/nix/store/4fns3gy97k9fj6ya8rifgvw7l4xmafyq-mesa-23.1.7.drv' failed with exit code 1; last 10 log lines: > C compiler for the host machine: clang (clang 11.1.0 "clang version 11.1.0") > C linker for the host machine: clang ld64 609 > C++ compiler for the host machine: clang++ (clang 11.1.0 "clang version 11.1.0") > C++ linker for the host machine: clang++ ld64 609 > Host machine cpu family: aarch64 > Host machine cpu: aarch64 > > meson.build:364:3: ERROR: Feature gbm cannot be enabled: GBM only supports DRM/KMS platforms > > A full log can be found at /private/tmp/nix-build-mesa-23.1.7.drv-0/mesa-23.1.7/build/meson-logs/meson-log.txt For full logs, run 'nix log /nix/store/4fns3gy97k9fj6ya8rifgvw7l4xmafyq-mesa-23.1.7.drv'.

I am sure this is user error for me being less proficient at nix. I'd love help or a pointer in the right direction to make the flake/overlay approach work well.

Thanks!

jonathanwilner avatar Oct 17 '23 19:10 jonathanwilner