StrataWM / strata

A cutting-edge, robust and sleek Wayland compositor with batteries included.
https://stratawm.github.io
GNU General Public License v3.0
173 stars 7 forks source link

:sparkles: Add developing environments using `nix develop` #42

Closed vazw closed 1 year ago

vazw commented 1 year ago

Added shell environments here this help any nix-shell users/contributor to easily load all required libs/dependencies and rust-bin with rust-analyzer and rustfmt.

There is some lua lib path issue on NixOS but we can bypass and run it by modify $XDG_DATA_DIRS with

export XDG_DATA_DIRS=$HOME/.local/share:$XDG_DATA_DIRS

and copy lua dir to .local/share/strata/

I'll try to add Makefile config to flake.nix and edit some environments variable there later. or maybe redirect lua lib path to main repo directory on debug mode.