1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-18 19:07:19 +03:00
This commit is contained in:
Nicolas Mattia 2020-01-31 20:10:41 +01:00
parent 490c5e4ebc
commit 7a21f49027

View File

@ -147,7 +147,7 @@ nixPrefetchURL unpack turl@(T.unpack -> url) = do
-- From the nix-prefetch-url documentation:
-- Path names are alphanumeric and can include the symbols +-._?= and must
-- not begin with a period.
-- (note: we assume they don't being with a period)
-- (note: we assume they don't begin with a period)
isOk = \c -> isAlphaNum c || T.any (c ==) "+-._?="
abortNixPrefetchExpectedOutput :: T.Text -> T.Text -> IO a