How to use NCI-based flake output as input of another? #112
-
Hi. I'm trying to use the output of an NCI-based flake as the input of another, but I can't get it to work. Here is a repository of a minimal reproduction where I made a flake for Running However, running
How can I figure out why this is happening and what can I do to get this to work? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
It doesn't look like that issue relates to |
Beta Was this translation helpful? Give feedback.
Oh sorry, I mixed it up. You need to use
inputs.cargo-generate.packages.${common.pkgs.system}.cargo-generate
. Since this is from the flake inputs, it will be structured likepackages.<system>.<package name>
. I'm actually currently rewriting NCI itself (see #110) to reduce this kind of friction and make it more modular and integrate-able with other stuff. It's pretty close to being merged, so I would be very happy if you could try that, the branch should have a few examples. (though no rendered documentation yet, so you would have to rely on reading the modules code itself, or just DM me on matrix).