Hi,
wondering if anyone has recommendations on how to write a nix derivation for a project that is built with meson and that relies on wrapped subprojects with patches.
One approach i have seen so far consists in removing the wrap file, and replacing the corresponding directory (via a symlink) with a fetched package (e.g. from github). That seems to work, but then the project may be missing patches, and a meson.build which are defined under subprojects/packagefiles/...
, which meson usually applies when “unwrapping” or processing the .wrap
file.
I’m wondering how people handle this. I started to browse the nixpkgs repo, but have yet to find an example that deals with patches and missing meson.build
files.
Thanks!