newrelic override fix

This commit is contained in:
Tom Sydney Kerckhove 2021-01-21 11:59:20 +01:00 committed by adisbladis
parent 25de8d0893
commit 62fc282c1d
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7

View file

@ -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"'
'';
}
);
}