Added Arch and NixOS install instructions (#33)

* Added Arch and NixOS install instructions

* Added shell.nix
pull/29/merge
Benedikt Terhechte 2 years ago committed by GitHub
parent 29f5059b4f
commit 65d0ff4d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -76,6 +76,10 @@ and it will do the rest.
I've created issues for some of the missing functionality. Most importantly more email formats (as explained above). Beyond that, there're probably bugs, there's a certain lack of tests and documentation, the [windows build is on shaky grounds](https://github.com/terhechte/postsack/issues/20), [the light theme is wonky](https://github.com/terhechte/postsack/issues/15), [some parts need a healthy refactoring to be useful beyond Postsack](https://github.com/terhechte/postsack/issues/11), [and it would be great if the binaries could be generated from the Github actions](https://github.com/terhechte/postsack/issues/10).
## Installation
For macOS, Linux or Windows install instructions, [please refer to the Readme in the postsack-native folder](postsack-native/Readme.md)
## Deploying to crates.io for `cargo install`
One of the issues I ran into was that many of the emails I had received over the years were not

@ -33,6 +33,19 @@ sudo dnf install @development-tools glib cairo-devel pango-devel gdk-pixbux2-dev
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev libsqlite3-dev
```
### Arch based
Thanks to Emilio Reggi, [there's an Arch package here](https://aur.archlinux.org/packages/postsack-bin/)
### NixOS
There's a `shell.nix` in this directory. It can be used to run Postsack on NixOS via:
``` sh
> nix-shell shell.nix
$ cargo run
```
### Building
``` sh

@ -0,0 +1,16 @@
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "postsack-env";
buildInputs = [
rustc cargo xorg.libxcb
];
LD_LIBRARY_PATH = lib.makeLibraryPath [
xorg.libxcb
xorg.libX11
xorg.libXcursor
xorg.libXrandr
xorg.libXi
libglvnd
];
}
Loading…
Cancel
Save