diff --git a/overrides.nix b/overrides.nix index 8e9b5fa..e600231 100644 --- a/overrides.nix +++ b/overrides.nix @@ -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"' + ''; + } + ); + }