Hi Marius!

> Assuming you intended to write (%current-system) to test.txt, you can do
> something along these lines:
> 
>  (computed-file "test.txt"
>                 #~(call-with-output-file #$output
>                     (lambda (port)
>                       (format port #$(%current-system)))))

Thanks for this solution.

> That's expected: this derivation does not produce any outputs.
> So I think this is not-a-bug.  WDYT?


I think I got a bit distracted by the functionality of plain-file and the 
similar wording of the documentation of computed-file.

Thanks, I’ll close this issue.


Bye

Stefan


Reply via email to