mirror of
https://github.com/nmattia/niv.git
synced 2024-12-01 15:56:03 +03:00
Use githubUpdate' in more places
This commit is contained in:
parent
f4ff956e9b
commit
1d3ec979cd
@ -337,7 +337,7 @@ cmdUpdate = \case
|
||||
Just defaultSpec -> do
|
||||
fmap attrsToSpec <$> tryEvalUpdate
|
||||
(specToLockedAttrs cliSpec <> specToFreeAttrs defaultSpec)
|
||||
(githubUpdate nixPrefetchURL githubLatestRev githubRepo)
|
||||
githubUpdate'
|
||||
|
||||
Nothing -> abortCannotUpdateNoSuchPackage packageName
|
||||
|
||||
@ -356,7 +356,7 @@ cmdUpdate = \case
|
||||
let initialSpec = specToFreeAttrs defaultSpec
|
||||
finalSpec <- fmap attrsToSpec <$> tryEvalUpdate
|
||||
initialSpec
|
||||
(githubUpdate nixPrefetchURL githubLatestRev githubRepo)
|
||||
githubUpdate'
|
||||
pure finalSpec
|
||||
|
||||
let (failed, sources') = partitionEithersHMS esources'
|
||||
|
Loading…
Reference in New Issue
Block a user