Skip to content

Set DOTNET_CLI_HOME defaults for SDK consumers - #15

Merged
adampoit merged 1 commit into
mainfrom
issue-8-dotnet-cli-home
Jul 8, 2026
Merged

adampoit merged 1 commit into
mainfrom
issue-8-dotnet-cli-home

Conversation

@adampoit

@adampoit adampoit commented Jul 8, 2026 •

Copy link
Copy Markdown
Owner

Closes #8.

Sets a safe default DOTNET_CLI_HOME from the SDK setup hook so sandboxed builds do not need to provide it manually. The default remains overrideable by callers.

Also sets common non-interactive .NET CLI defaults and updates the integration test to rely on the hook.

Tested:

  • nix develop --command alejandra src/nix-dotnet.nix tests/integration-test.nix
  • nix run github:nix-community/nix-unit -- --flake '.#tests'
  • nix build .#basic-example --no-link

@adampoit
adampoit force-pushed the issue-8-dotnet-cli-home branch from 9616141 to 736e6ae Compare July 8, 2026 04:41
@adampoit
adampoit force-pushed the issue-8-dotnet-cli-home branch from 736e6ae to d34d272 Compare July 8, 2026 04:55
@adampoit
adampoit merged commit fdef60b into main Jul 8, 2026
5 checks passed
@adampoit
adampoit deleted the issue-8-dotnet-cli-home branch July 8, 2026 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set DOTNET_CLI_HOME by default for sandboxed builds

1 participant