mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-19 16:58:55 +00:00
Add optional openssl dep on linux
This commit is contained in:
parent
cb7202293a
commit
276281b07a
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue