markout/default.nix

13 lines
308 B
Nix
Raw Permalink Normal View History

2023-01-11 23:11:02 +00:00
{ toolchain, makeRustPlatform, nix-gitignore }:
2022-06-18 01:45:45 +00:00
2023-01-11 23:11:02 +00:00
let rustPlatform = makeRustPlatform { inherit (toolchain) cargo rustc; };
in rustPlatform.buildRustPackage {
2022-06-18 16:22:40 +00:00
name = "markout";
version = "0.1.0";
2022-06-18 01:45:45 +00:00
src = nix-gitignore.gitignoreSource [ ./.gitignore ] ./.;
2022-06-18 16:22:40 +00:00
cargoLock = { lockFile = ./Cargo.lock; };
2022-06-18 01:45:45 +00:00
}