Add optional openssl dep on linux

This commit is contained in:
Natsu Kagami 2021-11-03 13:40:30 -04:00
parent cb7202293a
commit 276281b07a
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -16,6 +16,11 @@
root = ./.; root = ./.;
cargoBuildOptions = opts: opts ++ [ "--package youmubot" ]; cargoBuildOptions = opts: opts ++ [ "--package youmubot" ];
nativeBuildInputs = nixpkgs.lib.optionals (nixpkgs.lib.strings.hasSuffix "linux" system) (with pkgs; [
pkg-config
openssl
]);
}; };
defaultPackage = packages.youmubot; defaultPackage = packages.youmubot;