-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
python3Packages.orange3: setup direct dependencies to fetch from GitHub + bump #354279
Conversation
|
d89dea3
to
f89bd30
Compare
|
|
||
nativeCheckInputs = [ pytestCheckHook ]; | ||
|
||
passthru.updateScript = gitUpdater { }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not nix-update-script
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simpler, and the actual code is in nixpkgs already. BTW there is a generic updater that you can setup by just giving a command that list the versions available
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I was not aware of that. So basically it is (or should be) recommended over nix-update-script
for all packages using fetchFromGit*
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anything using git should work.
If they use some kind of tag prefix such as v
or sscg-
then you pass it using the rev-prefix parameter and that's it.
If you want always the latest commit then you use unstableGitUpdater
, and there is genericUpdater
when the source is not git, you basically pass a script to list versions then it takes the latest one by comparison then change the hashes automatically. This version list is a bit clunky because the system expects you to pass a expression that takes package information as an argument, I did an example of that in #354277 tho.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok good to know ! Thank you for the explanation :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I think that specifying the updater is useless for packages under python3Packages
as they all inherit an updater (nix-update-script
I think) by default.
Hence, I would actually get rid of those.
Maybe @mweinelt can confirm.
0408ca6
to
4c88852
Compare
|
|
|
||
nativeCheckInputs = [ pytestCheckHook ]; | ||
|
||
passthru.updateScript = gitUpdater { }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I think that specifying the updater is useless for packages under python3Packages
as they all inherit an updater (nix-update-script
I think) by default.
Hence, I would actually get rid of those.
Maybe @mweinelt can confirm.
|
Signed-off-by: lucasew <[email protected]>
Signed-off-by: lucasew <[email protected]>
Signed-off-by: lucasew <[email protected]>
Signed-off-by: lucasew <[email protected]>
Signed-off-by: lucasew <[email protected]>
Signed-off-by: lucasew <[email protected]>
Signed-off-by: lucasew <[email protected]>
Signed-off-by: lucasew <[email protected]>
c4b59cb
to
91ab556
Compare
|
Signed-off-by: lucasew <[email protected]>
|
catboost is broken, that's why orange is failing |
|
|
Signed-off-by: lucasew <[email protected]>
ad54023
to
33c1a1d
Compare
|
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.