git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #45050 from sjmackenzie/rink-rs
cc288eeSarah Brofeldt
pkgs/build-support/rust/default-crate-overrides.nix+5−1
@@ -1,6 +1,6 @@
1{ stdenv, pkgconfig, curl, darwin, libiconv, libgit2, libssh2,
1{ stdenv, pkgconfig, curl, darwin, libiconv, libgit2, libssh2,
2 openssl, sqlite, zlib, dbus, dbus-glib, gdk_pixbuf, cairo, python3,
2 openssl, sqlite, zlib, dbus, dbus-glib, gdk_pixbuf, cairo, python3,
3− libsodium, postgresql, ... }:
3+ libsodium, postgresql, gmp, ... }:
4
4
5let
5let
6 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
6 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
@@ -58,6 +58,10 @@ in
58 gdk-pixbuf = attrs: {
58 gdk-pixbuf = attrs: {
59 buildInputs = [ gdk_pixbuf ];
59 buildInputs = [ gdk_pixbuf ];
60 };
60 };
61+ rink = attrs: {
62+ buildInputs = [ gmp ];
63+ crateBin = [ { name = "rink"; path = "src/bin/rink.rs"; } ];
64+ };
61 cairo-rs = attrs: {
65 cairo-rs = attrs: {
62 buildInputs = [ cairo ];
66 buildInputs = [ cairo ];
63 };
67 };