hindent clean

This commit is contained in:
Ryan Mulligan 2018-05-06 20:14:44 -07:00
parent d5ed9425e7
commit 0a3643095d

View File

@ -74,8 +74,10 @@ fixSrcUrl updateEnv derivationFile attrPath oldSrcUrl = do
-- Obtain download URLs from repology
-- TODO: use repology-api package
downloads <-
cmd "curl" "-s" ("https://repology.org/api/v1/metapackage/"
<> packageName updateEnv) -|-
cmd
"curl"
"-s"
("https://repology.org/api/v1/metapackage/" <> packageName updateEnv) -|-
cmd "jq" ".[].downloads | select(values) | .[]"
let filteredDownloads =
downloads & T.lines &