(rule (write-file generated-file dynamic-contents))

(alias
  ((name test-path)
   (action (cat ${path:generated-file}))))

(alias
  ((name test-path-no-dep)
   (action
     (chdir
       sub-tree/dir
       (progn
         (echo "${path-no-dep:file-that-does-not-exist}\n")
         (echo "${path-no-dep:.}\n"))))))
