lol

gtk4: fix cross

Artturin 237da4a2 ab783bb4

+14
+14
pkgs/development/libraries/gtk/4.x.nix
··· 42 42 , vulkan-headers 43 43 , wayland 44 44 , wayland-protocols 45 + , wayland-scanner 45 46 , xineramaSupport ? stdenv.isLinux 46 47 , cupsSupport ? stdenv.isLinux 47 48 , cups ··· 77 78 sha256 = "e7/k0TVp98KX7UmDSscmPjGLe/EC0ycctGbVlx9ZrnA="; 78 79 }; 79 80 81 + depsBuildBuild = [ 82 + pkg-config 83 + ]; 84 + 80 85 nativeBuildInputs = [ 81 86 gettext 82 87 gobject-introspection ··· 88 93 sassc 89 94 gi-docgen 90 95 libxml2 # for xmllint 96 + wayland-scanner 91 97 ] ++ setupHooks; 92 98 93 99 buildInputs = [ ··· 183 189 184 190 chmod +x ''${files[@]} 185 191 patchShebangs ''${files[@]} 192 + 193 + '' + 194 + # Run-time dependency gi-docgen found: NO (tried pkgconfig and cmake) 195 + # it should be a build-time dep for build 196 + # TODO: send upstream 197 + '' 198 + substituteInPlace meson.build \ 199 + --replace "'gi-docgen', ver" "'gi-docgen', native:true, ver" 186 200 ''; 187 201 188 202 preInstall = ''