2
0
mirror of https://github.com/Revertron/Alfis synced 2024-11-11 01:10:36 +00:00

Merge pull request #117 from eatb33ts/master

Add nix-shell for nix/nixos users
This commit is contained in:
Revertron 2021-05-14 11:08:52 +02:00 committed by GitHub
commit 409f57c09a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -56,6 +56,9 @@ Install from available [AUR package](https://aur.archlinux.org/packages/alfis) c
yay -S alfis
```
### On Nix/NixOS
`nix-shell` in this repo and then run `cargo build` and `cargo install` after you have entered the shell.
## Installation
### Debian/Ubuntu (only blockchain DNS, without GUI)
@ -95,4 +98,4 @@ If you want it to load config from another file you can command it so: `alfis -c
1. Stabilize blockchain functions (domain transfer, info & contacts in UI), bug hunting and fixing.
2. Change DNS server/proxy to own resource saving implementation (using trust-dns-proto for RR parsing).
3. P2P traffic encryption (ECDH).
4. Web-GUI to manage you node from browser.
4. Web-GUI to manage you node from browser.

10
shell.nix Normal file
View File

@ -0,0 +1,10 @@
let
# Pinned nixpkgs, deterministic. Last updated: 2/12/21.
pkgs = import (fetchTarball("https://github.com/NixOS/nixpkgs/archive/a58a0b5098f0c2a389ee70eb69422a052982d990.tar.gz")) {};
# Rolling updates, not deterministic.
# pkgs = import (fetchTarball("channel:nixpkgs-unstable")) {};
in pkgs.mkShell {
buildInputs = [ pkgs.cargo pkgs.rustc pkgs.webkitgtk pkgs.pkg-config pkgs.kdialog];
}