mirror of
https://github.com/ryantm/nixpkgs-update.git
synced 2024-11-10 13:24:58 +03:00
hindent clean
This commit is contained in:
parent
d5ed9425e7
commit
0a3643095d
@ -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 &
|
||||
|
Loading…
Reference in New Issue
Block a user