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