Skip to content

Commit

Permalink
tensorrt-llm: always autoPatchelf $out
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickvP committed Aug 8, 2024
1 parent 4152b5a commit 67438c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nix/tensorrt-llm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,11 @@ stdenv.mkDerivation (o: {
# manually call autoPatchelf so it doesn't cross-link the outputs
dontAutoPatchelf = true;
# move the propagatedBuildInputs to $python
postFixup = lib.optionalString withPython ''
postFixup = (lib.optionalString withPython ''
mv $out/nix-support $python/
autoPatchelf $out
autoPatchelf $python
'') + ''
autoPatchelf $out
'';
# imports check, wants nvml
# pushd $python/${python3.sitePackages}
Expand Down

0 comments on commit 67438c8

Please sign in to comment.