I have a long string which I want to extract to a separate file.
prepare = lib.hm.dag.entryAfter ["writeBoundary"] '' very long script with ${...} '';
I can read it with builtins.readFile but it does not replace ${...} nix place holders.
How can I read string from a file and resolve nix variables inside it?