mirror of
https://github.com/ryantm/nixpkgs-update.git
synced 2024-10-26 06:47:35 +03:00
Merge pull request #389 from rhendric/rhendric/fix-388
Update: skip updateScript updates if version doesn't change
This commit is contained in:
commit
ffb20c6910
@ -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