e0/default.nix

14 lines
358 B
Nix
Raw Normal View History

2022-07-18 08:21:39 +00:00
{ toolchain, makeRustPlatform, lib, nix-gitignore, libffi, libgcc }:
2022-04-06 03:07:34 +00:00
2022-07-18 08:21:39 +00:00
let rustPlatform = makeRustPlatform { inherit (toolchain) cargo rustc; };
in rustPlatform.buildRustPackage {
2022-04-06 03:07:34 +00:00
name = "e0";
src = nix-gitignore.gitignoreSource [ ./.gitignore ] ./.;
2022-07-18 02:00:19 +00:00
nativeBuildInputs = [ ];
buildInputs = [ libffi ];
2022-04-06 03:07:34 +00:00
2022-07-18 02:00:19 +00:00
cargoLock = { lockFile = ./Cargo.lock; };
2022-04-06 03:07:34 +00:00
}