mirror of
https://github.com/ryantm/nixpkgs-update.git
synced 2024-12-14 21:33:46 +03:00
Update: remove reference to deleted fix src url code
This commit is contained in:
parent
9a686921ab
commit
c8c5a3258e
@ -147,9 +147,7 @@ updatePackage log updateEnv mergeBaseOutpathsContext =
|
||||
newSrcUrl <- Nix.getSrcUrl attrPath
|
||||
when (oldSrcUrl == newSrcUrl) $ throwE "Source url did not change. "
|
||||
lift $ File.replace oldHash Nix.sha256Zero derivationFile
|
||||
newHash <- Nix.getHashFromBuild attrPath -- <|>
|
||||
-- lift (fixSrcUrl updateEnv derivationFile attrPath oldSrcUrl) <|>
|
||||
-- throwE "Could not get new hash. "
|
||||
newHash <- Nix.getHashFromBuild attrPath
|
||||
tryAssert "Hashes equal; no update necessary" (oldHash /= newHash)
|
||||
lift $ File.replace Nix.sha256Zero newHash derivationFile
|
||||
editedOutpathSet <- currentOutpathSet
|
||||
|
Loading…
Reference in New Issue
Block a user