mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-03 14:33:12 +00:00
Because we need Rust version newer than `1.62.0` and Ubuntu 22.04 only comes with `1.61.0`: https://packages.ubuntu.com/jammy/rustc And locking dependencies using Nix would make it easier for developers to track them and update them: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/rust/1_63.nix Signed-off-by: Jakub Sokołowski <jakub@status.im>
17 lines
489 B
Nix
17 lines
489 B
Nix
{ pkgs ? import (builtins.fetchTarball {
|
|
url = "https://github.com/NixOS/nixpkgs/archive/dbf1d73cd1a17276196afeee169b4cf7834b7a96.tar.gz";
|
|
sha256 = "sha256:1k5nvn2yzw370cqsfh62lncsgydq2qkbjrx34cprzf0k6b93v7ch";
|
|
}) {} }:
|
|
|
|
pkgs.mkShell {
|
|
name = "nim-waku-build-shell";
|
|
|
|
# Versions dependent on nixpkgs commit. Update manually.
|
|
buildInputs = with pkgs; [
|
|
git # 2.37.3
|
|
which # 2.21
|
|
gcc # 11.3.0
|
|
rustc # 1.63.0
|
|
] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
|
}
|