diff --git a/gedit/meson.build b/gedit/meson.build
index a960e6c..47e1b8e 100644
--- a/gedit/meson.build
+++ b/gedit/meson.build
@@ -205,6 +205,7 @@ libgedit_gir = gnome.generate_gir(
 
 python3.install_sources(
   'Gedit.py',
+  pure: false,
   subdir: 'gi/overrides',
 )
 
