-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Description
Nixpkgs version
- Stable (25.05)
Describe the bug
There are some commands in nextcloud-occ, that can read from a envvar, such as nextcloud-occ user:resetpassword --password-from-env -- root, however it seems like #367433 might have changed that, and now clears all user envvars set.
Steps to reproduce
export OC_PASS="something"
nextcloud-occ user:resetpassword --password-from-env -- root
Gives the following error:
--password-from-env given, but OC_PASS is empty!
Expected behaviour
That it is possible to pass the password through envvars.
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
- system: `"x86_64-linux"`
- host os: `Linux 6.12.30, NixOS, 25.05 (Warbler), 25.05pre-git`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.28.3`
- channels(root): `"nixos-24.05"`
- nixpkgs: `/nix/store/6n9f0nw4wyzmc4dg1lzxrmyca4j57zac-nixos-24.05/nixos`
Notify maintainers
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: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS