naersk/crate_specific.nix

17 lines
480 B
Nix
Raw Normal View History

2024-05-16 17:45:45 +00:00
# This file contains crate-specific build inputs.
#
# Each of them is an attribute with name of the crate and value being a function.
# This function gets as arguments:
# - `crateInfo` with information about the crate, such as sha256 or version
#
# Currently supported fields to return are: `buildInputs`, `nativeBuildInputs`
2024-05-16 17:39:16 +00:00
{ pkgs }:
{
openssl-sys = { ... }: {
nativeBuildInputs = with pkgs; [ pkg-config ];
buildInputs = with pkgs; [ openssl ];
};
}