mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
default-crate-overrides: nixpkgs-fmt
This commit is contained in:
parent
3584ad8d57
commit
0e8d59e3cb
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user