Skip to content

Commit

Permalink
fix(propcache): include tomli conditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Oct 17, 2024
1 parent 33bfc87 commit 46a27f5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions overrides/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2249,6 +2249,11 @@ lib.composeManyExtensions [
propagatedBuildInputs = old.propagatedBuildInputs or [ ] ++ [ final.setuptools ];
});

propcache = prev.propcache.overridePythonAttrs (old: {
nativeBuildInputs = old.nativeBuildInputs or [ ]
++ lib.optionals (final.pythonOlder "3.11") [ final.tomli ];
});

prophet = prev.prophet.overridePythonAttrs (old: {
propagatedBuildInputs = old.propagatedBuildInputs or [ ] ++ [ pkgs.cmdstan final.cmdstanpy ];
PROPHET_REPACKAGE_CMDSTAN = "false";
Expand Down

0 comments on commit 46a27f5

Please sign in to comment.