17 lines
314 B
Nix
17 lines
314 B
Nix
{ 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
|
|
'';
|
|
}
|