Loading pkgs/development/compilers/dotnet/build-dotnet.nix +5 −3 Original line number Diff line number Diff line Loading @@ -120,6 +120,7 @@ stdenv.mkDerivation (finalAttrs: rec { export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 # Dont try to expand NuGetFallbackFolder to disk export DOTNET_NOLOGO=1 # Disables the welcome message export DOTNET_CLI_TELEMETRY_OPTOUT=1 export DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK=1 # Skip integrity check on first run, which fails due to read-only directory ''; passthru = { Loading Loading @@ -147,9 +148,10 @@ stdenv.mkDerivation (finalAttrs: rec { nativeBuildInputs = [ finalAttrs.finalPackage ]; } '' HOME=$(pwd)/fake-home dotnet new console dotnet build output="$(dotnet run)" dotnet new console --no-restore dotnet restore --source "$(mktemp -d)" dotnet build --no-restore output="$(dotnet run --no-build)" # yes, older SDKs omit the comma [[ "$output" =~ Hello,?\ World! ]] && touch "$out" ''; Loading Loading
pkgs/development/compilers/dotnet/build-dotnet.nix +5 −3 Original line number Diff line number Diff line Loading @@ -120,6 +120,7 @@ stdenv.mkDerivation (finalAttrs: rec { export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 # Dont try to expand NuGetFallbackFolder to disk export DOTNET_NOLOGO=1 # Disables the welcome message export DOTNET_CLI_TELEMETRY_OPTOUT=1 export DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK=1 # Skip integrity check on first run, which fails due to read-only directory ''; passthru = { Loading Loading @@ -147,9 +148,10 @@ stdenv.mkDerivation (finalAttrs: rec { nativeBuildInputs = [ finalAttrs.finalPackage ]; } '' HOME=$(pwd)/fake-home dotnet new console dotnet build output="$(dotnet run)" dotnet new console --no-restore dotnet restore --source "$(mktemp -d)" dotnet build --no-restore output="$(dotnet run --no-build)" # yes, older SDKs omit the comma [[ "$output" =~ Hello,?\ World! ]] && touch "$out" ''; Loading