-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Description
Describe the bug
When running the following nix develop
command:
nix develop --impure --expr "import ./maintainers/scripts/update.nix" --argstr path python3Packages.optree --argstr skip-prompt true --argstr commit false
I get the following error:
error (ignored): error: '--arg' and '--argstr' are incompatible with flakes
However, I am not using flakes, the command proceeds normally, and the update process runs.
Steps To Reproduce
- Clone nixpkgs and cd into it
- Run the above command
- Observe the error. Also observe it performs the update process correctly.
Expected behavior
Either the passing of --argstr
is a bug, as indicated by the error message, or the error message itself is the bug and should not have been displayed.
Metadata
nix-env (Nix) 2.28.4
Additional context
N.A.
Checklist
- checked latest Nix manual (source)
- checked open bug issues and pull requests for possible duplicates
- Unfortunately the terms I have to work with here are pretty generic; so I skimmed through the titles of the 184 that matched. I might have missed it, in which case just mark this as a duplicate, and sorry!
Add 👍 to issues you find important.