Add nix build script
This commit is contained in:
parent
114a87885e
commit
8b0083b13e
|
@ -7,12 +7,12 @@ let
|
||||||
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
|
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
|
||||||
|
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage {
|
pkgs.rustPlatform.buildRustPackage {
|
||||||
pname = "tlaternet";
|
pname = "tlaternet";
|
||||||
version = "1.0";
|
version = "1.0";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
cargoSha256 = "1gyvc4gc2b799q9hi0af4z14fbg0sgnkqsmajniqyb693ifg9f6d";
|
cargoSha256 = "1gyvc4gc2b799q9hi0af4z14fbg0sgnkqsmajniqyb693ifg9f6d";
|
||||||
verifyCargoDeps = false;
|
verifyCargoDeps = true;
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
nixpkgs.latest.rustChannels.nightly.rust
|
nixpkgs.latest.rustChannels.nightly.rust
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
Loading…
Reference in a new issue