Ladybird needs a newer version of skia specifically 144 so im trying to build a newer version. I have been able to bump the source and such but i keep getting this error FileNotFoundError: [Errno 2] No such file or directory: ‘/build/skia-9da21da/bin/gn and i have no idea why it would work on the older version of skia or why skia seems to be building its own copy of gn. If anyone with experience with gn could provide advice that would be great.
this is my skia build
(pkgs.ladybird.override (prev: {
skia = prev.skia.overrideAttrs (prev: {
gnFlags = prev.gnFlags ++ [
"extra_cflags_cc=[\"-frtti\"]"
];
postPatch = ''
# System zlib detection bug workaround
substituteInPlace BUILD.gn \
--replace-fail '"//third_party/zlib",' ""
'';
version = "144";
src = fetchgit {
url = "https://skia.googlesource.com/skia.git";
# Tip of the chrome/m$version branch
rev = "9da21dacb7fb0826a963c9df0fcbb3ed805cf2c4";
hash = "sha256-0LiFK/8873gei70iVhNGRlcFeGIp7tjDEfxTBz1LYv8=";
};
});
}))