-
-
Notifications
You must be signed in to change notification settings - Fork 14k
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
python312Packages.torch: unroll recursive git retrieval #277789
base: master
Are you sure you want to change the base?
Conversation
510deef
to
bf48e15
Compare
a639010
to
1495e3a
Compare
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.
There is a merge conflict
1495e3a
to
ce4850e
Compare
Yes... not too surprisingly, there has been another upstream version merged. |
}; | ||
# the following expression has been generated using | ||
# https://codeberg.org/gm6k/git-unroll | ||
src = |
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.
Given the size of this expression, I think it would be best to outsource it to a new file src.nix
or similar.
ce4850e
to
db4a2a8
Compare
again... |
Description of changes
This PR replaces the recursive fetch of the package source by non-recursive fetches of the corresponding (sub-)modules. This allows using the more efficient specialized fetchers, is more robust in presence of network issues, and allows for reusing sub-modules if they don't change between updates. Furthermore, it can be a starting point for reducing code duplication caused by the sub-modules.
Fixes #276585
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.