From 37bb7b09dcc31d5abba13233623ee5c7073e1d34 Mon Sep 17 00:00:00 2001 From: xmppftw Date: Mon, 3 Jun 2024 16:04:22 +0200 Subject: [PATCH] Add shell.nix and README --- README.md | 13 +++++++++++++ shell.nix | 5 +++++ 2 files changed, 18 insertions(+) create mode 100644 README.md create mode 100644 shell.nix diff --git a/README.md b/README.md new file mode 100644 index 0000000..5ba5632 --- /dev/null +++ b/README.md @@ -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. diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..da9ae47 --- /dev/null +++ b/shell.nix @@ -0,0 +1,5 @@ +{ pkgs ? import {} }: + pkgs.mkShell { + buildInputs = with pkgs.buildPackages; [ libadwaita ]; + nativeBuildInputs = with pkgs; [ pkg-config ]; +}