diff options
author | Joe Hermaszewski <git@monoid.al> | 2020-06-19 13:27:21 +0800 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2020-07-10 07:48:12 +0200 |
commit | f6e07b3c5df3589a27005e90bacb4a1851ec23cf (patch) | |
tree | fa178b553cfbcd54025c169219c7d4c9e1b7aa44 /pkgs | |
parent | 4b3ee09f5372cd66cfe6c31f2ba80cadc3c768df (diff) |
defaultGemConfig.mathematical: fix cross compilation
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/ruby-modules/gem-config/default.nix | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix index 65f27f497b7f..9ccc369429df 100644 --- a/pkgs/development/ruby-modules/gem-config/default.nix +++ b/pkgs/development/ruby-modules/gem-config/default.nix @@ -305,19 +305,26 @@ in }; mathematical = attrs: { - buildInputs = [ + nativeBuildInputs = [ + ruby cmake bison flex - glib pkgconfig + python3 + ]; + + buildInputs = [ cairo - pango + fribidi gdk-pixbuf + glib libxml2 - python3 + pango ]; + strictDeps = true; + # The ruby build script takes care of this dontUseCmakeConfigure = true; |