31 lines
534 B
Nix
31 lines
534 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
}:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
runtimeLibs = with pkgs; [
|
|
];
|
|
in
|
|
{
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
cargo
|
|
rustfmt
|
|
git
|
|
pkg-config
|
|
openssl
|
|
protobuf
|
|
];
|
|
shellHook = "exec fish";
|
|
};
|
|
};
|
|
}
|