This commit is contained in:
Jakub Kropáček 2024-11-29 17:05:55 +01:00
parent 2ae131956d
commit b11a5f44e1

View file

@ -30,8 +30,11 @@ stdenv.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
postInstall = '' dontAutoPatchelf = true;
$out/bin/uv --version || echo "Binary execution failed."
postFixup = ''
autoPatchelf -- "$out"
export HOME=$TMPDIR export HOME=$TMPDIR
installShellCompletion --cmd uv \ installShellCompletion --cmd uv \
--bash <($out/bin/uv --generate-shell-completion bash) \ --bash <($out/bin/uv --generate-shell-completion bash) \