mirror of
https://github.com/logos-messaging/nim-sds.git
synced 2026-05-18 07:59:54 +00:00
* adapt arch and cpu flags and fix ios build * require chronos 4.2.0 or higher * Android fixes and rm Makefile * enable long paths in git windows ci
28 lines
362 B
Nix
28 lines
362 B
Nix
{
|
|
pkgs ? import <nixpkgs> { },
|
|
}:
|
|
|
|
let
|
|
inherit (pkgs) lib stdenv;
|
|
|
|
in pkgs.mkShell {
|
|
inputsFrom = [
|
|
pkgs.androidShell
|
|
];
|
|
|
|
buildInputs = with pkgs; [
|
|
nim-2_2
|
|
nimble
|
|
which
|
|
git
|
|
cmake
|
|
] ++ lib.optionals stdenv.isDarwin [
|
|
pkgs.libiconv
|
|
];
|
|
|
|
# Avoid compiling Nim itself.
|
|
shellHook = ''
|
|
export USE_SYSTEM_NIM=1
|
|
'';
|
|
}
|