e0/default.nix

23 lines
543 B
Nix
Raw Normal View History

{ fenix, makeRustPlatform, 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
let rustPlatform = makeRustPlatform { inherit (fenix.minimal) cargo rustc; };
in rustPlatform.buildRustPackage {
2022-04-06 03:07:34 +00:00
name = "e0";
src = nix-gitignore.gitignoreSource [ ./.gitignore ] ./.;
2022-06-17 14:50:06 +00:00
nativeBuildInputs = [ llvm.dev ];
buildInputs = [ libffi llvm ];
2022-06-17 14:50:06 +00:00
LLVM_SYS_120_PREFIX = "${llvm.dev}";
2022-04-06 03:07:34 +00:00
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"inkwell-0.1.0" = "sha256-+ih3SO0n6YmZ/mcf+rLDwPAy/1MEZ/A+tI4pM1pUhvU=";
};
};
2022-04-06 03:07:34 +00:00
}