Skip to content

Commit

Permalink
Merge pull request #1710 from TyberiusPrime/pyee
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored Jun 24, 2024
2 parents ab60bca + 9a03962 commit 46ce1e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions overrides/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3856,11 +3856,13 @@ lib.composeManyExtensions [
# manually specify its version.
pyee = prev.pyee.overrideAttrs (
old: {
postPatch = old.postPatch or "" + ''
postPatch = old.postPatch or "" +
(lib.optionalString (lib.versionOlder old.version "10.0.0")
''
sed -i setup.py \
-e '/setup_requires/,/],/d' \
-e 's/vcversioner={},/version="${old.version}",/'
'';
'');
}
);

Expand Down

0 comments on commit 46ce1e1

Please sign in to comment.