diff --git a/doc/using/configuration.chapter.md b/doc/using/configuration.chapter.md index e4d401368796..932b24237c02 100644 --- a/doc/using/configuration.chapter.md +++ b/doc/using/configuration.chapter.md @@ -42,7 +42,7 @@ There are two ways to try compiling a package which has been marked as broken. - For allowing the build of a broken package once, you can use an environment variable for a single invocation of the nix tools: - ```shellSession + ```ShellSession $ export NIXPKGS_ALLOW_BROKEN=1 ``` @@ -61,7 +61,7 @@ There are also two ways to try compiling a package which has been marked as unsu - For allowing the build of an unsupported package once, you can use an environment variable for a single invocation of the nix tools: - ```shellSession + ```ShellSession $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 ``` @@ -81,7 +81,7 @@ There are several ways to tweak how Nix handles a package which has been marked - To temporarily allow all unfree packages, you can use an environment variable for a single invocation of the nix tools: - ```shellSession + ```ShellSession $ export NIXPKGS_ALLOW_UNFREE=1 ``` @@ -134,7 +134,7 @@ There are several ways to tweak how Nix handles a package which has been marked - To temporarily allow all insecure packages, you can use an environment variable for a single invocation of the nix tools: - ```shellSession + ```ShellSession $ export NIXPKGS_ALLOW_INSECURE=1 ``` @@ -294,7 +294,7 @@ This provides us with some useful documentation for using our packages. However For this to work fully, you must also have this script sourced when you are logged in. Try adding something like this to your `~/.profile` file: -```shellSession +```ShellSession #!/bin/sh if [ -d $HOME/.nix-profile/etc/profile.d ]; then for i in $HOME/.nix-profile/etc/profile.d/*.sh; do diff --git a/doc/using/overlays.chapter.md b/doc/using/overlays.chapter.md index 935583a91e24..21efe467b847 100644 --- a/doc/using/overlays.chapter.md +++ b/doc/using/overlays.chapter.md @@ -111,7 +111,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 +```ShellSession $ LD_LIBRARY_PATH=$(nix-build -A mkl)/lib:$LD_LIBRARY_PATH nix-shell -p octave --run octave ```