-
-
Notifications
You must be signed in to change notification settings - Fork 17.5k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: pythonPython is a high-level, general-purpose programming language.Python is a high-level, general-purpose programming language.
Description
Nixpkgs version
Please select a version.
Describe the bug
Hello,
The issue basically is that if at any point you run sgpt --install-functions the sgpt installation will bork itself as the existence of the folder ~/.config/shell_gpt/functions introduces a hard requirement on the requests python module. It actually won't even respond to --help without an error message. The solution for now is to nuke that directory.
I may send a patch to fix this myself in a few days.
| propagatedBuildInputs = with python3.pkgs; [ |
Steps to reproduce
sgpt --install-functionssgpt --help(will error out)
Expected behaviour
sgpt works as it would have the module its trying to import
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.13.9-xanmod1, NixOS, 24.11 (Vicuna), 24.11.20250403.bdb9186 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.24.13 - nixpkgs:
/etc/nix/path/nixpkgs
Notify maintainers
@MGlolenstine
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: pythonPython is a high-level, general-purpose programming language.Python is a high-level, general-purpose programming language.