Skip to content

fix: resolve variable problems in nix shell#141

Merged
matttrach merged 1 commit into
rancher:mainfrom
matttrach:fix-acme-server
Dec 2, 2025
Merged

fix: resolve variable problems in nix shell#141
matttrach merged 1 commit into
rancher:mainfrom
matttrach:fix-acme-server

Conversation

@matttrach
Copy link
Copy Markdown
Collaborator

There was a problem with nix shell environments that I overlooks previously. Since the nix shell ignores environment variables that aren't standard/ specified I need to export any extra environment variables in the run command.
This was manifesting in a missing acme server url in the environment.
I also added a missing line to set the acme server url in the test if it isn't in the environment.
And I removed default values from the variables in the example so that we fail earlier in the process if this happens again.

Signed-off-by: matttrach <matt.trachier@suse.com>
@matttrach matttrach self-assigned this Dec 2, 2025
@matttrach matttrach requested a review from a team as a code owner December 2, 2025 17:23
@matttrach matttrach merged commit 593058e into rancher:main Dec 2, 2025
8 checks passed
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.

1 participant