Skip to content

Commit

Permalink
Add Missing DOTNET_ROOT Environment Variable For Nix Devs (#1203)
Browse files Browse the repository at this point in the history
# Description

Added missing environment variable for nix-shell. I don't like everytime
write `export DOTNET_ROOT="/path/to/folder"`, so it should be done by
post script in `shell.nix`
  • Loading branch information
DocNITE authored Nov 11, 2024
1 parent 6305e2d commit 04cdc14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,7 @@ in pkgs.mkShell {
export ROBUST_SOUNDFONT_OVERRIDE=${pkgs.soundfont-fluid}/share/soundfonts/FluidR3_GM2-2.sf2
export XDG_DATA_DIRS=$GSETTINGS_SCHEMAS_PATH
export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath dependencies}
export DOTNET_ROOT=${pkgs.dotnetCorePackages.sdk_8_0_1xx}
export PATH="$PATH:/home/$(whoami)/.dotnet/tools"
'';
}

0 comments on commit 04cdc14

Please sign in to comment.