Skip to content

Commit

Permalink
override: fix pyarrow
Browse files Browse the repository at this point in the history
  • Loading branch information
TyberiusPrime committed Jul 16, 2024
1 parent d11c01e commit 9f782b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overrides/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2241,8 +2241,8 @@ lib.composeManyExtensions [
);

ARROW_HOME = _arrow-cpp;
arrowCppVersion = lib.versions.majorMinor _arrow-cpp;
pyArrowVersion = lib.versions.majorMinor prev.pyarrow;
arrowCppVersion = lib.versions.majorMinor (_arrow-cpp.version or _arrow-cpp);
pyArrowVersion = lib.versions.majorMinor (prev.pyarrow.version or prev.pyarrow);
errorMessage = "arrow-cpp version (${arrowCppVersion}) mismatches pyarrow version (${pyArrowVersion})";
in
lib.throwIf (arrowCppVersion != pyArrowVersion) errorMessage {
Expand Down

0 comments on commit 9f782b8

Please sign in to comment.