about summary refs log tree commit diff
path: root/pkgs/development/libraries/glib/default.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2022-08-24 13:23:52 +0000
committerAlyssa Ross <hi@alyssa.is>2022-09-04 21:18:49 +0000
commit1ea4a3bab629f62ce28730c41a415076bd8c99f0 (patch)
tree5efc2838b4b0a901d86435ac87905b1cccef0cdd /pkgs/development/libraries/glib/default.nix
parent3f3f318a6ba69e7d1453b02a5ed0c8ea1828c9ba (diff)
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.
Diffstat (limited to 'pkgs/development/libraries/glib/default.nix')
-rw-r--r--pkgs/development/libraries/glib/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/glib/default.nix b/pkgs/development/libraries/glib/default.nix
index 55e72585c99fe..973f7d724bc89 100644
--- a/pkgs/development/libraries/glib/default.nix
+++ b/pkgs/development/libraries/glib/default.nix
@@ -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 = ''