-
Notifications
You must be signed in to change notification settings - Fork 12
Add git derivation to PATH of uv binary #1042
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
base: master
Are you sure you want to change the base?
Conversation
An upstream pull request at |
I tried this branch today with our performance test script haskell-backend$ KONTROL_VERSION=uv-wrapped-with-git scripts/performance-test-kontrol.sh The issue with the missing
while trying to call |
This behaviour sounds really odd. Unfortunately, I cannot reproduce this, because I am running into OOM errors during Could you please try to update |
I updated nix to 2.28.4 (that's the version I got when following the Linux upgrade instructions from the nix manual) but the result remains the same: when running the performance script with this PR's branch, all tests fail on a permission error during server setup. |
The haskell-backend uses evm-semantics and kontrol for profiling. For this purpose, the script
scripts/performance-tests-kontrol.sh
runs the develop shell with the--ignore-environment
for increased reproducibility. This in turn causes git to be missing from the environment, which is an optional runtime dependency for uv that is required for us, because we reference git repositories in thepyproject.toml
.This pull request wraps uv and adds the git derivation to the PATH of uv. This will make the
--ignore-environment
kontrol nix develop shell in haskell-backend work reproducibly.