with import {}; let getRecords = records: let serial = import (runCommand "serial" { records = records 0; } '' date +%s > $out ''); in records serial; in getRecords (serial: '' This is version ${toString serial}. Hello there what is up '')