summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2021-11-05 10:47:38 +0100
committerVladimír Čunát <v@cunat.cz>2021-11-05 10:48:58 +0100
commit555a4016a2c052270489b8307f8ae650349ffc23 (patch)
tree42e67e5ddd24d0b2e392530afeb2b55d96a57c52 /doc
parent9a96e0ec8c93e0040906a8044d213933cebc32ee (diff)
parente53afee6daf71f89beac7c3d2b618abadd37ab71 (diff)
downloadnixpkgs-555a4016a2c052270489b8307f8ae650349ffc23.tar
nixpkgs-555a4016a2c052270489b8307f8ae650349ffc23.tar.gz
nixpkgs-555a4016a2c052270489b8307f8ae650349ffc23.tar.bz2
nixpkgs-555a4016a2c052270489b8307f8ae650349ffc23.tar.lz
nixpkgs-555a4016a2c052270489b8307f8ae650349ffc23.tar.xz
nixpkgs-555a4016a2c052270489b8307f8ae650349ffc23.tar.zst
nixpkgs-555a4016a2c052270489b8307f8ae650349ffc23.zip
Merge branch 'staging-next' into staging
Diffstat (limited to 'doc')
-rw-r--r--doc/using/overlays.chapter.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/using/overlays.chapter.md b/doc/using/overlays.chapter.md
index d2e3b49a6aa..df152bc14e7 100644
--- a/doc/using/overlays.chapter.md
+++ b/doc/using/overlays.chapter.md
@@ -112,7 +112,7 @@ self: super:
 This overlay uses Intel's MKL library for both BLAS and LAPACK interfaces. Note that the same can be accomplished at runtime using `LD_LIBRARY_PATH` of `libblas.so.3` and `liblapack.so.3`. For instance:
 
 ```ShellSession
-$ LD_LIBRARY_PATH=$(nix-build -A mkl)/lib:$LD_LIBRARY_PATH nix-shell -p octave --run octave
+$ LD_LIBRARY_PATH=$(nix-build -A mkl)/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH nix-shell -p octave --run octave
 ```
 
 Intel MKL requires an `openmp` implementation when running with multiple processors. By default, `mkl` will use Intel's `iomp` implementation if no other is specified, but this is a runtime-only dependency and binary compatible with the LLVM implementation. To use that one instead, Intel recommends users set it with `LD_PRELOAD`. Note that `mkl` is only available on `x86_64-linux` and `x86_64-darwin`. Moreover, Hydra is not building and distributing pre-compiled binaries using it.