PathInput: make the hash part of the revision

This commit is contained in:
Graham Christensen 2022-01-10 10:53:16 -05:00
parent 0484f13a1a
commit 3874db4fb7

View file

@ -78,7 +78,7 @@ sub fetchInput {
{ uri => $uri
, storePath => $storePath
, sha256hash => $sha256
, revision => strftime "%Y%m%d%H%M%S", gmtime($timestamp)
, revision => (strftime "%Y%m%d%H%M%S", gmtime($timestamp)) . ':' . $sha256
};
}