chore: branch on version

This commit is contained in:
Phillip Cloud 2022-07-02 12:14:23 -05:00
parent e834b72e8c
commit 3dfba8273e
No known key found for this signature in database
GPG key ID: D908212070FD785E

View file

@ -2406,7 +2406,7 @@ lib.composeManyExtensions [
});
nbconvert = super.nbconvert.overridePythonAttrs (_: {
postPatch = ''
postPatch = lib.optionalString (lib.versionAtLeast self.nbconvert.version "6.5.0") ''
substituteInPlace \
./nbconvert/exporters/templateexporter.py \
--replace \