| Post Reply | RetroFed Forum Forum Index » Nix / NixOS |
| Author | Message | ||
|---|---|---|---|
|
river_in_the_sky
lemmy.blahaj.zone
river_in_the_sky@lemmy.blahaj.zone Joined: 2023-06-24 |
RESOLVED: see the edit at the bottom of the post for the solution. Forgive me if this is not the place to ask this question. If that is the case, I would appreciate some help finding the best place to ask. I wish to start hacking together a wayland compositor in C and I figured wlroots would be a reasonable place to start. I'm using NixOS with flakes and wish to make a dev shell. Here is the flake.nix that I wrote and figured would work:
The problem I am having is that I have to include wlroots headers using:
which differs from how other projects include the shared library on a non-NixOS system. For example, in tinywl, the example compositor in the wlroots repo, wlroots headers are included like this:
Furthermore, even if I do include wlroots headers using the first path, I am unable to build anything since those headers have includes like in tinywl.c. I might be a little bit out of my depth and that's okay, but I was hoping to have fun hacking together a wayland compositor. Any help would be greatly appreciated. EDIT: Per this comment I just needed to add
|
||
| 1 Original | |||
| Post Reply |
Back to top |