18 lines
347 B
Nix
18 lines
347 B
Nix
{...}: {
|
|
perSystem = {pkgs, ...}: {
|
|
packages.gig = pkgs.rustPlatform.buildRustPackage {
|
|
pname = "gig";
|
|
version = "v0.0.1";
|
|
|
|
src = ../..;
|
|
cargoLock.lockFile = ../../Cargo.lock;
|
|
|
|
buildInputs = with pkgs; [
|
|
openssl
|
|
libgit2
|
|
];
|
|
|
|
nativeBuildInputs = with pkgs; [pkg-config];
|
|
};
|
|
};
|
|
}
|