oeffisearch/shell.nix

17 lines
314 B
Nix
Raw Normal View History

2020-02-07 14:09:42 +01:00
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
2020-07-20 21:27:32 +02:00
mkShell {
name = "oeffisearch-shell";
2020-02-07 14:09:42 +01:00
nativeBuildInputs = [ nim ];
2020-07-20 21:27:32 +02:00
LD_LIBRARY_PATH = lib.makeLibraryPath [ openssl ];
2020-02-07 14:09:42 +01:00
CACHE_PATH = toString ./cache;
NIX_ENFORCE_PURITY = 0;
shellHook = ''
2020-07-20 21:27:32 +02:00
nim c src/oeffisearch.nim
./src/oeffisearch
2020-02-07 14:09:42 +01:00
exit
'';
}