mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
newrelic override fix
This commit is contained in:
parent
25de8d0893
commit
62fc282c1d
1 changed files with 11 additions and 0 deletions
|
@ -1419,5 +1419,16 @@ self: super:
|
|||
}
|
||||
);
|
||||
|
||||
# nixpkgs has setuptools_scm 4.1.2
|
||||
# but newrelic has a seemingly unnecessary version constraint for <4
|
||||
# So we patch that out
|
||||
newrelic = super.newrelic.overridePythonAttrs (
|
||||
old: {
|
||||
postPatch = old.postPatch or "" + ''
|
||||
substituteInPlace setup.py --replace '"setuptools_scm>=3.2,<4"' '"setuptools_scm"'
|
||||
'';
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue