forked from mirrors/nixpkgs
db784d883c
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 of26d5d030fe
will fix the sage build. This commit should be reverted once408eacbc89
is in master.
18 lines
399 B
Nix
18 lines
399 B
Nix
{ 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
|
|
'';
|
|
}
|