Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shell.nix: fix failing generate-secrets #254

Merged
merged 1 commit into from Oct 20, 2020

Conversation

erikarvstedt
Copy link
Collaborator

@erikarvstedt erikarvstedt commented Oct 19, 2020

generate-secrets failed due to the PYTHONPATH env var that was set through the nixops19_09 buildInput.

Fixes:

  • Don't pull in the build environments of binaries that should be available in PATH. Only extend PATH instead.
  • Run generate-secrets in an empty environment

Fixes #253

generate-secrets failed due to the `PYTHONPATH` env var that was set
through the nixops19_09 buildInput.

Fixes:
- Don't pull in the build environments of binaries that should be
  available in PATH. Only extend PATH instead.
- Run generate-secrets in an empty environment
Copy link
Member

@jonasnick jonasnick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I wouldn't have suspected the buildInputs.

ACK d2dbad2

@jonasnick jonasnick merged commit 3693529 into fort-nix:master Oct 20, 2020
@erikarvstedt erikarvstedt deleted the fix-shell branch December 15, 2020 21:28
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.

rpcauth script fails
2 participants