Update: remove reference to deleted fix src url code

This commit is contained in:
Ryan Mulligan 2019-08-24 13:56:07 -07:00
parent 9a686921ab
commit c8c5a3258e

View File

@ -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