mirror of
https://github.com/PixlOne/logiops.git
synced 2025-07-13 21:02:43 +08:00
Added instructions for nix-shell. Also points out that git is a requirement for building
This commit is contained in:
parent
94f6dbab53
commit
00ff307a6b
@ -15,7 +15,7 @@ Default location for the configuration file is /etc/logid.cfg, but another can b
|
||||
|
||||
## Dependencies
|
||||
|
||||
This project requires a C++20 compiler, `cmake`, `libevdev`, `libudev`, `glib`, and `libconfig`.
|
||||
This project requires a C++20 compiler, `cmake`, `libevdev`, `libudev`, `glib`, `git`, and `libconfig`.
|
||||
For popular distributions, I've included commands below.
|
||||
|
||||
**Arch Linux:** `sudo pacman -S base-devel cmake libevdev libconfig systemd-libs glib2`
|
||||
@ -30,6 +30,8 @@ For popular distributions, I've included commands below.
|
||||
|
||||
**openSUSE:** `sudo zypper install cmake libevdev-devel systemd-devel libconfig-devel gcc-c++ libconfig++-devel libudev-devel glib2-devel`
|
||||
|
||||
**Nix:** `nix-shell --pure -p cmake libevdev glib libconfig libudev-zero pcre pcre2 libuuid libselinux libsepol git`
|
||||
|
||||
## Building
|
||||
|
||||
To build this project, run:
|
||||
|
Loading…
Reference in New Issue
Block a user