summary refs log tree commit diff
path: root/doc/languages-frameworks/dotnet.section.md
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-03-14 00:30:36 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-04-05 05:23:19 +0200
commit2c143a461438a4e3c9509222274be819df8d86ef (patch)
tree13e1dfaf764ac375d74cc5ed19d713b7695fa18f /doc/languages-frameworks/dotnet.section.md
parent14edfb4cd7cc6a5a332318e37f1bf6a844b3e9c6 (diff)
downloadnixpkgs-2c143a461438a4e3c9509222274be819df8d86ef.tar
nixpkgs-2c143a461438a4e3c9509222274be819df8d86ef.tar.gz
nixpkgs-2c143a461438a4e3c9509222274be819df8d86ef.tar.bz2
nixpkgs-2c143a461438a4e3c9509222274be819df8d86ef.tar.lz
nixpkgs-2c143a461438a4e3c9509222274be819df8d86ef.tar.xz
nixpkgs-2c143a461438a4e3c9509222274be819df8d86ef.tar.zst
nixpkgs-2c143a461438a4e3c9509222274be819df8d86ef.zip
doc/languages-frameworks/*: add missing languages to code fences
convert shell -> ShellSession
Diffstat (limited to 'doc/languages-frameworks/dotnet.section.md')
-rw-r--r--doc/languages-frameworks/dotnet.section.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/languages-frameworks/dotnet.section.md b/doc/languages-frameworks/dotnet.section.md
index c3947042494..36369fd4e63 100644
--- a/doc/languages-frameworks/dotnet.section.md
+++ b/doc/languages-frameworks/dotnet.section.md
@@ -4,7 +4,7 @@
 
 For local development, it's recommended to use nix-shell to create a dotnet environment:
 
-```
+```nix
 # shell.nix
 with import <nixpkgs> {};
 
@@ -20,7 +20,7 @@ mkShell {
 
 It's very likely that more than one sdk will be needed on a given project. Dotnet provides several different frameworks (E.g dotnetcore, aspnetcore, etc.) as well as many versions for a given framework. Normally, dotnet is able to fetch a framework and install it relative to the executable. However, this would mean writing to the nix store in nixpkgs, which is read-only. To support the many-sdk use case, one can compose an environment using `dotnetCorePackages.combinePackages`:
 
-```
+```nix
 with import <nixpkgs> {};
 
 mkShell {
@@ -37,7 +37,7 @@ mkShell {
 
 This will produce a dotnet installation that has the dotnet 3.1, 3.0, and 2.1 sdk. The first sdk listed will have it's cli utility present in the resulting environment. Example info output:
 
-```
+```ShellSesssion
 $ dotnet --info
 .NET Core SDK (reflecting any global.json):
  Version:   3.1.101