Panfactum / stack

The Panfactum Stack
https://panfactum.com
Other
16 stars 5 forks source link

[Bug]: issue with AWS cli in recommended NixOS package registry version #14

Closed jlevydev closed 8 months ago

jlevydev commented 8 months ago

Prior Search

What happened?

The aws cli seems broken in the release of the NixOS package registry recommended in the docs. I've pinned back my NixOS version in the meantime but may be good to recommend a more stable version. Screenshot from 2024-03-12 16-33-09

Version

main (development branch)

What primary components of the stack are you seeing the problem on?

nix, website

Relevant log output

No response

Code of Conduct

fullykubed commented 8 months ago

This is resolved in the last commit to the main branch. Please upgrade your flake.lock and try again.

fullykubed commented 8 months ago

For clarity, the docs do not recommend any specific NixOS package registry version (if they do, please consider that a bug and would love to see that fixed). Our devenv comes prebundled with specific versions of a few dozen utilities, the AWS CLI included. You can add additional utilities (see the docs for customizing your developer environment) from arbitrary nixpkg commits, but you shouldn't do that with the AWS CLI as we have chosen a version known to be working with the stack.

This issue is not with the AWS CLI itself but rather a bug that was introduced into devenv that adds an incorrect PYTHONPATH environment variable to your terminal session. The latest version of the Panfactum stack provides a fix for this.

jlevydev commented 8 months ago

Confirmed fixed, thanks!