From d2c4b5777ba22a51dcdc5f5a97e9d8e72e00d860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 9 Feb 2019 10:33:50 +0100 Subject: [PATCH] sagelib: fix missing pkgs.pkgconfig Again: eb3f0aef43 #54306 Apparently the derivation needs both pkgconfigs (it fails when missing either). --- pkgs/applications/science/math/sage/default.nix | 1 + pkgs/applications/science/math/sage/sagelib.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/pkgs/applications/science/math/sage/default.nix b/pkgs/applications/science/math/sage/default.nix index dfdf210eec04..ddb22bcb1ef2 100644 --- a/pkgs/applications/science/math/sage/default.nix +++ b/pkgs/applications/science/math/sage/default.nix @@ -35,6 +35,7 @@ let inherit flint ecl arb; inherit sage-src pynac singular; linbox = pkgs.linbox.override { withSage = true; }; + pkg-config = pkgs.pkgconfig; # not to confuse with pythonPackages.pkgconfig }; }; }; diff --git a/pkgs/applications/science/math/sage/sagelib.nix b/pkgs/applications/science/math/sage/sagelib.nix index a754a2745098..814eef9560e9 100644 --- a/pkgs/applications/science/math/sage/sagelib.nix +++ b/pkgs/applications/science/math/sage/sagelib.nix @@ -30,6 +30,7 @@ , numpy , pari , pkgconfig +, pkg-config , planarity , ppl , pynac @@ -63,6 +64,7 @@ buildPythonPackage rec { iml perl jupyter_core + pkg-config ]; buildInputs = [