mirror of
https://github.com/ryantm/nixpkgs-update.git
synced 2024-09-11 05:45:45 +03:00
Update: skip updateScript updates if version doesn't change
This commit is contained in:
parent
06c8016412
commit
afa489f640
@ -308,6 +308,11 @@ updateAttrPath log mergeBase updateEnv@UpdateEnv {..} attrPath = do
|
||||
-- Already checked that these are Just above.
|
||||
let oldVer = fromJust oldVerMay
|
||||
let newVer = fromJust newVerMay
|
||||
|
||||
-- Some update scripts make file changes but don't update the package
|
||||
-- version; ignore these updates (#388)
|
||||
when (newVer == oldVer) $ throwE "Package version did not change."
|
||||
|
||||
return $
|
||||
UpdateEnv
|
||||
packageName
|
||||
|
Loading…
Reference in New Issue
Block a user