17 lines
335 B
Nix
17 lines
335 B
Nix
{ pkgs, target, util }:
|
|
|
|
{
|
|
inherit target;
|
|
|
|
features = with util.features; [ storage-mem storage-rocksdb scripting http ];
|
|
|
|
buildSpec = with pkgs; {
|
|
strictDeps = true;
|
|
|
|
depsBuildBuild = [ pkgsCross.mingwW64.stdenv.cc ];
|
|
|
|
buildInputs = [ pkgsCross.mingwW64.windows.pthreads ];
|
|
|
|
CARGO_BUILD_TARGET = target;
|
|
};
|
|
}
|