24 lines
396 B
Nix
24 lines
396 B
Nix
{
|
|
description = "lead-rust";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
}: let
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs {inherit system;};
|
|
in {
|
|
devShells.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
openssl
|
|
];
|
|
|
|
nativeBuildInputs = [pkgs.pkg-config];
|
|
};
|
|
};
|
|
}
|