diff --git a/flake.nix b/flake.nix index 6b812e1..48b7e3e 100644 --- a/flake.nix +++ b/flake.nix @@ -16,6 +16,11 @@ root = ./.; cargoBuildOptions = opts: opts ++ [ "--package youmubot" ]; + + nativeBuildInputs = nixpkgs.lib.optionals (nixpkgs.lib.strings.hasSuffix "linux" system) (with pkgs; [ + pkg-config + openssl + ]); }; defaultPackage = packages.youmubot;