glib: fix tests by patching Python shebangs

This has to happen in postConfigure rather than postPatch, because the
files are generated by the configure phase.
This commit is contained in:
Alyssa Ross 2022-08-24 13:23:52 +00:00
parent 3f3f318a6b
commit 1ea4a3bab6

View File

@ -159,6 +159,10 @@ stdenv.mkDerivation rec {
--replace "libintl, " ""
'';
postConfigure = ''
patchShebangs gio/gdbus-2.0/codegen/gdbus-codegen gobject/glib-{genmarshal,mkenums}
'';
DETERMINISTIC_BUILD = 1;
postInstall = ''