Add git derivation to PATH of uv binary#1042
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.shThe issue with the missing Detailswhile 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. |
|
Git overlay works. The other encountered issue with |
The haskell-backend uses evm-semantics and kontrol for profiling. For this purpose, the script
scripts/performance-tests-kontrol.shruns the develop shell with the--ignore-environmentfor 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-environmentkontrol nix develop shell in haskell-backend work reproducibly.