mirror of
https://github.com/logos-messaging/logos-chat.git
synced 2026-02-28 21:03:06 +00:00
liblogoschat.so now embeds liblibchat.a directly. Library paths moved out of nimble tasks into Makefile / Nix, and librln renamed to librlnDrv for consistency.
18 lines
397 B
Nix
18 lines
397 B
Nix
{ pkgs, lib, stdenv, libchatDrv }:
|
|
|
|
let
|
|
libExt = if stdenv.isDarwin then "dylib" else "so";
|
|
in pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
nim cargo rustc clippy rustfmt
|
|
git cmake gnumake which pkg-config
|
|
openssl miniupnpc libnatpmp
|
|
];
|
|
|
|
shellHook = ''
|
|
echo "logos-chat dev shell."
|
|
echo "Build: make liblogoschat"
|
|
echo "Nix build: nix build '.?submodules=1#'"
|
|
'';
|
|
}
|