docs/using: shellSession -> ShellSession

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
fricklerhandwerk 2021-04-24 11:12:46 +02:00 committed by fricklerhandwerk
parent d8b5ed331d
commit c30fe24120
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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
```