e0/default.nix

17 lines
393 B
Nix
Raw Normal View History

2022-06-17 14:50:06 +00:00
{ rustPlatform, lib, nix-gitignore, llvmPkgs, libffi }:
2022-04-06 03:07:34 +00:00
2022-06-17 14:50:06 +00:00
with llvmPkgs;
2022-04-06 03:07:34 +00:00
rustPlatform.buildRustPackage {
name = "e0";
src = nix-gitignore.gitignoreSource [ ./.gitignore ] ./.;
2022-06-17 14:50:06 +00:00
nativeBuildInputs = [ llvm.dev ];
buildInputs = [ libffi ];
LLVM_SYS_120_PREFIX = "${llvm.dev}";
2022-04-06 03:07:34 +00:00
2022-06-17 14:50:06 +00:00
# cargoSha256 = lib.fakeSha256;
cargoSha256 = "sha256-gPaYoHcNltAe/lK3pLhLZnX3Q8Pxj6yB45L/XWn3ZKc=";
2022-04-06 03:07:34 +00:00
}