-
Different crates within a project can depend on different non-Rust files (compile-time assets). Practically, we probably want a single source derivation for the entire project. And I'm guessing that's what nci does, right? What I would enjoy is a way to specify inclusions (fileset library set?) per crate, and for nci to somehow compose them for us using option merging. This is for separation of concerns. Does this make sense? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
There is a new fileset API in nixpkgs already https://nixos.org/manual/nixpkgs/unstable/#sec-fileset so i don't really see myself implementing anything in NCI, one could simply just use this, and pass it to (it might be useful to include an example for it though?) |
Beta Was this translation helpful? Give feedback.
there could definitely be an option for this but i don't really know if it's worth adding in nci when it would be a really simple option in the first place, it doesn't even need to touch any nci code. personally i'd rather if it was a seperate flake-parts module that's not in nci, i think it's outside the concerns for nci