If I have a python package derivation like
{ buildPythonPackage
, fetchPypi
...
}:
buildPythonPackage {
pname = ...;
}
Which I’m trying to use it in a big environment python38.withPackages(ps: with ps; [ numpy my-package-from-above ... ])
Is it possible to override the stdenv just for that package? Specifically I’d like to compile this package with a different version of gcc while not messing with the other packages in the environment?