1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
mkShell {
name = "oeffisearch-shell";
nativeBuildInputs = [ nim ];
LD_LIBRARY_PATH = lib.makeLibraryPath [ openssl ];
CACHE_PATH = toString ./cache;
NIX_ENFORCE_PURITY = 0;
shellHook = ''
nim c src/oeffisearch.nim
./src/oeffisearch
exit
'';
}