default-crate-overrides: nixpkgs-fmt

This commit is contained in:
happysalada 2021-09-02 14:35:23 +09:00 committed by Raphael Megzari
parent 3584ad8d57
commit 0e8d59e3cb

View File

@ -1,7 +1,30 @@
{ lib, stdenv, pkg-config, curl, darwin, libiconv, libgit2, libssh2,
openssl, sqlite, zlib, dbus, dbus-glib, gdk-pixbuf, cairo, python3,
libsodium, postgresql, gmp, foundationdb, capnproto, nettle, clang,
llvmPackages, linux-pam, ... }:
{ lib
, stdenv
, pkg-config
, curl
, darwin
, libiconv
, libgit2
, libssh2
, openssl
, sqlite
, zlib
, dbus
, dbus-glib
, gdk-pixbuf
, cairo
, python3
, libsodium
, postgresql
, gmp
, foundationdb
, capnproto
, nettle
, clang
, llvmPackages
, linux-pam
, ...
}:
let
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
@ -23,14 +46,14 @@ in
libz-sys = attrs: {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ zlib ];
extraLinkFlags = ["-L${zlib.out}/lib"];
extraLinkFlags = [ "-L${zlib.out}/lib" ];
};
curl-sys = attrs: {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ zlib curl ];
propagatedBuildInputs = [ curl zlib ];
extraLinkFlags = ["-L${zlib.out}/lib"];
extraLinkFlags = [ "-L${zlib.out}/lib" ];
};
dbus = attrs: {
@ -115,7 +138,7 @@ in
rink = attrs: {
buildInputs = [ gmp ];
crateBin = [ { name = "rink"; path = "src/bin/rink.rs"; } ];
crateBin = [{ name = "rink"; path = "src/bin/rink.rs"; }];
};
security-framework-sys = attr: {