diff -ruN matplotlib-3.0.0/src/_macosx.m matplotlib-3.0.0.patched/src/_macosx.m
--- matplotlib-3.0.0/src/_macosx.m	2018-09-16 00:35:21.000000000 +0200
+++ matplotlib-3.0.0.patched/src/_macosx.m	2018-11-03 13:14:33.000000000 +0100
@@ -2577,6 +2577,7 @@
 
 static bool verify_framework(void)
 {
+    return true;  /* nixpkgs darwin stdenv */
     ProcessSerialNumber psn;
     /* These methods are deprecated, but they don't require the app to
        have started  */