From fa8adf2c47accaefdb21f4703caa660393a9eaf8 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Fri, 21 Apr 2017 16:41:09 +0200 Subject: [PATCH] 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). --- pkgs/build-support/fetchurl/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/fetchurl/default.nix b/pkgs/build-support/fetchurl/default.nix index 1e872fbc57a4..fea06e22ab46 100644 --- a/pkgs/build-support/fetchurl/default.nix +++ b/pkgs/build-support/fetchurl/default.nix @@ -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 =