nickel-lang / organist

Control all your tooling from a single console
MIT License
361 stars 20 forks source link

nix run #.regenerate-files fails when the path to the target file contains a directory #187

Closed metacoma closed 3 months ago

metacoma commented 3 months ago

files definition:

$ fgrep files\. project.ncl 
  files."dir1/dir2/.gitignore".materialisation_method = 'Copy,
  files."dir1/dir2/.gitignore".content = m%"

leads to

$ nix run .#regenerate-files
Regenerating dir1/dir2/.gitignore
cp: cannot create regular file 'dir1/dir2/.gitignore': No such file or directory