Skip to content

Commit

Permalink
fetchurl: fixed typo in error message
Browse files Browse the repository at this point in the history
This typo was likely introduced by copy-pasting the error message from elsewhere and forgetting to change the text, during the MD5 deprecation process (NixOS#4491).
  • Loading branch information
joepie91 authored Apr 21, 2017
1 parent 4c0098f commit fa8adf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/build-support/fetchurl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit fa8adf2

Please sign in to comment.