logos-chat/nix/shell.nix
osmaczko d9ec677820
feat: statically link libchat
liblogoschat.so now embeds liblibchat.a directly. Library paths moved
out of nimble tasks into Makefile / Nix, and librln renamed to librlnDrv
for consistency.
2026-02-26 11:41:08 +01:00

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#'"
'';
}