fetchurl: fixed typo in error message

This typo was likely introduced by copy-pasting the error message from elsewhere and forgetting to change the text, during the MD5 deprecation process (#4491).
This commit is contained in:
Sven Slootweg 2017-04-21 16:41:09 +02:00 committed by GitHub
parent 4c0098f1dc
commit fa8adf2c47

View file

@ -92,7 +92,7 @@ let
in
if md5 != "" then throw "fetchsvnssh does not support md5 anymore, please use sha256 or sha512"
if md5 != "" then throw "fetchurl does not support md5 anymore, please use sha256 or sha512"
else if (!hasHash) then throw "Specify hash for fetchurl fixed-output derivation: ${stdenv.lib.concatStringsSep ", " urls_}"
else stdenv.mkDerivation {
name =