Add shell.nix and README

This commit is contained in:
xmppftw xmppftw 2024-06-03 16:04:22 +02:00
parent b151186fea
commit 37bb7b09dc
2 changed files with 18 additions and 0 deletions

13
README.md Normal file
View File

@ -0,0 +1,13 @@
WIP
# Building
Simply run `cargo build --release` from the repository root. For missing dependencies, see instructions below.
## Archlinux
`pacman -Sy libadwaita`
## Nix
If you are on old distro but have nix, just do `nix-shell` from repository root. It will open shell with all dependencies for build.

5
shell.nix Normal file
View File

@ -0,0 +1,5 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs.buildPackages; [ libadwaita ];
nativeBuildInputs = with pkgs; [ pkg-config ];
}