From db784d883c4fbc276a1c639c8ff675a5fe805cac Mon Sep 17 00:00:00 2001 From: Timo Kaufmann Date: Fri, 7 Sep 2018 21:55:41 +0200 Subject: sage: re-add pkg-config aliases Those were removed because they were added to openblas itself. There was an error with that however and it will take some time until the fix makes its way through staging. For the time being, reverting this part of 26d5d030fe498b64a307af35ff96ff215ccd967a will fix the sage build. This commit should be reverted once 408eacbc896ecc6d0e25238963ecbd412d78ce3c is in master. --- pkgs/applications/science/math/sage/openblas-pc.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pkgs/applications/science/math/sage/openblas-pc.nix (limited to 'pkgs/applications/science/math/sage/openblas-pc.nix') diff --git a/pkgs/applications/science/math/sage/openblas-pc.nix b/pkgs/applications/science/math/sage/openblas-pc.nix new file mode 100644 index 000000000000..f4669a6557e9 --- /dev/null +++ b/pkgs/applications/science/math/sage/openblas-pc.nix @@ -0,0 +1,17 @@ +{ openblasCompat +, writeTextFile +, name +}: + +writeTextFile { + name = "openblas-${name}-pc-${openblasCompat.version}"; + destination = "/lib/pkgconfig/${name}.pc"; + text = '' + Name: ${name} + Version: ${openblasCompat.version} + + Description: ${name} for SageMath, provided by the OpenBLAS package. + Cflags: -I${openblasCompat}/include + Libs: -L${openblasCompat}/lib -lopenblas + ''; +} -- cgit 1.4.1