nim-sds/nix/shell.nix
Ivan FB 6f49a9742a
add raw no-nix ci.yml (#61)
* 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
2026-04-10 14:23:30 +02:00

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