From 04cdc14c8ba75a693579f961e9267095555c8982 Mon Sep 17 00:00:00 2001 From: DocNITE Date: Mon, 11 Nov 2024 09:41:47 +0300 Subject: [PATCH] Add Missing `DOTNET_ROOT` Environment Variable For Nix Devs (#1203) # 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` --- shell.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell.nix b/shell.nix index 57d64e00718..ce17c6acea9 100644 --- a/shell.nix +++ b/shell.nix @@ -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" ''; }