Structured cmakeFlags / attrs

I am looking for a solution for luarocks to deal with cmake based packages. The best fix would be to have structured cmakeFlags which was mentioned in, with PRs like

Seems like is the way forward.
I tried to enable __structuredAttrs = true for just my derivation but it ended up with /setup: No such file or directory errors.
1/ any quickfix to address this error ?
2/ what’s the status of stdenv 2.0 ?


2 Likes is the way forward. We need to clone @globin @jtojnar 5x each so we can finish it :).

I dont mind helping with the workload as it is a crucial feature that could really help clean nixpkgs. But I would need some guidance and I guess it might not be easy to split the load anyway.