Merge pull request #45050 from sjmackenzie/rink-rs

carnix overrides: add gmp to rink-rs buildInputs & correct crateBin
This commit is contained in:
Sarah Brofeldt 2018-08-15 12:43:37 +02:00 committed by GitHub
commit cc288eef07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ stdenv, pkgconfig, curl, darwin, libiconv, libgit2, libssh2,
openssl, sqlite, zlib, dbus, dbus-glib, gdk_pixbuf, cairo, python3,
libsodium, postgresql, ... }:
libsodium, postgresql, gmp, ... }:
let
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
@ -58,6 +58,10 @@ in
gdk-pixbuf = attrs: {
buildInputs = [ gdk_pixbuf ];
};
rink = attrs: {
buildInputs = [ gmp ];
crateBin = [ { name = "rink"; path = "src/bin/rink.rs"; } ];
};
cairo-rs = attrs: {
buildInputs = [ cairo ];
};