Open thoward27 opened 3 months ago
Can confirm this bug. Additionally, you can only refer to files that are staged to the git repo (just like with normal flakes), which I think is a problem because you normally don't check in artefacts in git, so kind of a catch 22. More on that here
This "can't copyToRoot an untracked file" kinda makes the whole "running artifacts" functionality pretty broken, doesn't it? Is there an example of that working end-to-end?
Describe the bug
I am trying to follow the example under Running Artifacts to generate a container for a small Loco.rs project. Unfortunately, I am unable to get anything to copy to the container, let along files built from an existing process.
To reproduce
https://gist.github.com/thoward27/467399b4aed4a88f775f492b67576f18
Version
I think this is because
mkHome
is usingcp -R ${path}/* $out${homeDir}/