Skip to content

Instantly share code, notes, and snippets.

View Bvngee's full-sized avatar

Bvngee Bvngee

View GitHub Profile
@Bvngee
Bvngee / Sway_wlroots_nixos_process.md
Last active April 4, 2024 18:44
How to compile Sway and wlroots together from source (on NixOS)

How to compile Sway and wlroots together from source (on NixOS)

I came up with this process when I needed to compile the latest commit of Sway to test a new feature, and my distro (NixOS) didn't have the required wlroots version packaged so I needed to compile that too. Here are the commands I ran for each repo:

1) wlroots

git clone https://gitlab.freedesktop.org/wlroots/wlroots