5
27
Fork
You've already forked pale
3

nix-shell requirements to compile pale-module.so #8

Open
opened 2026年02月02日 06:45:02 +01:00 by karthink · 3 comments

Thank you for taking the initiative on bringing better graphics support to Emacs!

I wanted to try out pale, and noticed that the provided default.nix does not supply the dependencies needed to compile the module.

The file lists

pkgs.mkShell {
 packages =
 [ pkgs.mesa-gl-headers pkgs.gnumake pkgs.clang-tools pkgs.gcc pkgs.gdb ];
}

but on my AMD ryzen machine with integrated graphics I had to use

pkgs.mkShell {
 packages =
 [ pkgs.libglvnd pkgs.gnumake pkgs.clang-tools pkgs.gcc pkgs.gdb ];
}

i.e. replace mesa-gl-headers with libglvnd. Without this compilation failed with the message that the EGL headers couldn't be found.

I'm not sure about why mesa-gl-headers did not suffice, but I'm reporting it here in case this information is useful.

Thank you for taking the initiative on bringing better graphics support to Emacs! I wanted to try out pale, and noticed that the provided default.nix does not supply the dependencies needed to compile the module. The file lists ```nix pkgs.mkShell { packages = [ pkgs.mesa-gl-headers pkgs.gnumake pkgs.clang-tools pkgs.gcc pkgs.gdb ]; } ``` but on my AMD ryzen machine with integrated graphics I had to use ```nix pkgs.mkShell { packages = [ pkgs.libglvnd pkgs.gnumake pkgs.clang-tools pkgs.gcc pkgs.gdb ]; } ``` i.e. replace `mesa-gl-headers` with `libglvnd`. Without this compilation failed with the message that the EGL headers couldn't be found. I'm not sure about why `mesa-gl-headers` did not suffice, but I'm reporting it here in case this information is useful.

Hello @karthink!

Since I am not a regular Nix user here, I'll defer to @appetrosyan.

Hello @karthink! Since I am not a regular Nix user here, I'll defer to @appetrosyan.
Contributor
Copy link

@karthink

I was not aware we had a nix expression until yesterday. Will bump it up in priority in my to-do list.

@karthink I was not aware we had a nix expression until yesterday. Will bump it up in priority in my to-do list.
Contributor
Copy link

@karthink Try it now.

@karthink Try it now.
Sign in to join this conversation.
No Branch/Tag specified
master
canvas
dirty-visible-only
shadertoy
metal
No results found.
Labels
Clear labels
Compat/Breaking
Breaking change that won't be backward compatible
Discuss/Research
Issues that require or are undergoing extensive discussion & research.
Kind/Bug
Something is not working
Kind/Documentation
Documentation changes
Kind/Enhancement
Improve existing functionality
Kind/Feature
New functionality
Kind/Security
This is security issue
Kind/Testing
Issue or pull request related to testing
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
bug
Something is not working
contribution welcome
Contributions are very welcome, get started here
duplicate
This issue or pull request already exists
enhancement
New feature
good first issue
Interested in contributing? Get started here.
invalid
Something is wrong
question
More information is needed
upstream
Related to an upstream repository, already reported there
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MonadicSheep/pale#8
Reference in a new issue
MonadicSheep/pale
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?