fix recompute --reproducible run on a VURL key

This avoids "Cannot generate a key for backend VURL", and makes it use
the usual hashing backend.
This commit is contained in:
Joey Hess 2025-03-12 11:48:29 -04:00
parent 0f998f0698
commit 0712ae020c
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 7 additions and 2 deletions

View file

@ -52,6 +52,7 @@ optParser desc = AddComputedOptions
<*> parseReproducible
newtype Reproducible = Reproducible { isReproducible :: Bool }
deriving (Show, Eq)
parseReproducible :: Parser (Maybe Reproducible)
parseReproducible = r <|> unr