Add nix build script

pull/1/head
Tristan Daniël Maat 2020-07-11 23:47:57 +01:00
parent 114a87885e
commit 8b0083b13e
Signed by: tlater
GPG Key ID: 49670FD774E43268
1 changed files with 2 additions and 2 deletions

View File

@ -7,12 +7,12 @@ let
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
in
rustPlatform.buildRustPackage {
pkgs.rustPlatform.buildRustPackage {
pname = "tlaternet";
version = "1.0";
src = ./.;
cargoSha256 = "1gyvc4gc2b799q9hi0af4z14fbg0sgnkqsmajniqyb693ifg9f6d";
verifyCargoDeps = false;
verifyCargoDeps = true;
nativeBuildInputs = [
nixpkgs.latest.rustChannels.nightly.rust
pkg-config