diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2016-10-08 00:24:10 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-10-09 16:19:04 +0200 |
commit | f603dc11a63a9ae83e520955abe75d02b9591f83 (patch) | |
tree | 2ee4d26718d8633e3e0f86ff177afbd586f942b5 /pkgs/build-support/fetchsvn | |
parent | c6b050fd2fb53a9e11e765f62ec83d0911508d4e (diff) |
fetch*: print a trace warning about md5 deprecation
Diffstat (limited to 'pkgs/build-support/fetchsvn')
-rw-r--r-- | pkgs/build-support/fetchsvn/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchsvn/default.nix b/pkgs/build-support/fetchsvn/default.nix index 85ec52c4bde04..b6f68e21384dd 100644 --- a/pkgs/build-support/fetchsvn/default.nix +++ b/pkgs/build-support/fetchsvn/default.nix @@ -29,7 +29,8 @@ stdenv.mkDerivation { outputHashAlgo = if sha256 == "" then "md5" else "sha256"; outputHashMode = "recursive"; - outputHash = if sha256 == "" then md5 else sha256; + outputHash = if sha256 == "" then + (stdenv.lib.fetchMD5warn "fetchsvn" url md5) else sha256; inherit url rev sshSupport openssh ignoreExternals; |