defaultGemConfig.mathematical: fix cross compilation
commitf6e07b3c5df3589a27005e90bacb4a1851ec23cf
authorJoe Hermaszewski <git@monoid.al>
dateFri 19 Jun 2020, 13:27 (6 years ago)
parent4b3ee09
pkgs/development/ruby-modules/gem-config/default.nix+11−4
@@ -305,19 +305,26 @@ in
305305 };
306306
307307 mathematical = attrs: {
308− buildInputs = [
308+ nativeBuildInputs = [
309+ ruby
309310 cmake
310311 bison
311312 flex
312− glib
313313 pkgconfig
314+ python3
315+ ];
316+
317+ buildInputs = [
314318 cairo
315− pango
319+ fribidi
316320 gdk-pixbuf
321+ glib
317322 libxml2
318− python3
323+ pango
319324 ];
320325
326+ strictDeps = true;
327+
321328 # The ruby build script takes care of this
322329 dontUseCmakeConfigure = true;
323330