Skip to content

Commit

Permalink
chore: patch shebangs on mpl 3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed May 25, 2024
1 parent 09030ca commit a7c192e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions overrides/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1607,9 +1607,13 @@ lib.composeManyExtensions [
substituteInPlace src/_c_internal_utils.c \
--replace libX11.so.6 ${libX11}/lib/libX11.so.6 \
--replace libwayland-client.so.0 ${wayland}/lib/libwayland-client.so.0
'' +
# avoid matplotlib trying to download dependencies
''
+ lib.optionalString mpl39
''
patchShebangs .
''
# avoid matplotlib trying to download dependencies
+ ''
echo "[libs]
system_freetype=true
system_qhull=true" > mplsetup.cfg
Expand Down

0 comments on commit a7c192e

Please sign in to comment.