Merge pull request #1096 from DeterminateSystems/pathinput-revision-hash

PathInput: make the hash part of the revision
This commit is contained in:
Graham Christensen 2022-01-10 13:32:58 -05:00 committed by GitHub
commit e254b62f13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
};
}