-
Notifications
You must be signed in to change notification settings - Fork 77
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
Command line attribute rev
is ignored
#36
Comments
Indeed, this should be Line 239 in c2698b0
Nice catch! Will patch soon. |
It's a little more awkward than that. This is the bit that actually makes
|
It would also be nice if |
This issue actually led me down a terribly deep rabbit hole: https://github.com/nmattia/niv/compare/nm-refactor (which is also aimed at making #35 nicer and hence blocking it). Hoping to find some time to finish things up soon... Worst case, Zurihac. |
The rev attribute is ignored when provided on CLI.
Considering
niv add NixOS/nixpkgs -a rev=plop
, thesources.json
should containsrev=plop
while rev have been updated according to the--branch
attribute.Specifying a
rev
attribute is useful when switching a project to Niv because it allows to introduce Niv without changing what is actually built.The text was updated successfully, but these errors were encountered: