mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
blas: really fix installation on FreeBSD
This commit is contained in:
parent
18c4b2180f
commit
bf08f68ccb
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue