mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
blas: really fix installation on FreeBSD
This commit is contained in:
parent
18c4b2180f
commit
bf08f68ccb
@ -35,7 +35,9 @@ stdenv.mkDerivation {
|
||||
|
||||
installPhase =
|
||||
# FreeBSD's stdenv doesn't use Coreutils.
|
||||
let dashD = if stdenv.isFreeBSD then "-d" else "-D"; in ''
|
||||
let dashD = if stdenv.isFreeBSD then "" else "-D"; in
|
||||
(stdenv.lib.optionalString stdenv.isFreeBSD "mkdir -p $out/lib ;")
|
||||
+ ''
|
||||
install ${dashD} -m755 libblas.a "$out/lib/libblas.a"
|
||||
install ${dashD} -m755 libblas.so.3.0.3 "$out/lib/libblas.so.3.0.3"
|
||||
ln -s libblas.so.3.0.3 "$out/lib/libblas.so.3"
|
||||
|
Loading…
Reference in New Issue
Block a user