{ inputs, ... }: { imports = [ inputs.rust-flake.flakeModules.default inputs.rust-flake.flakeModules.nixpkgs inputs.process-compose-flake.flakeModule inputs.cargo-doc-live.flakeModule ]; perSystem = { config, self', pkgs, lib, ... }: { rust-project.crates."mina_mesh".crane.args = { buildInputs = lib.optionals pkgs.stdenv.isDarwin ( with pkgs.darwin.apple_sdk.frameworks; [ IOKit ] ); nativeBuildInputs = [ pkgs.openssl ]; }; packages.default = self'.packages.mina_mesh; }; }