fetchfirefoxaddon: fix passing md5 to fetchurl

Broken in 6f30e0a906.

See https://github.com/NixOS/nixpkgs/issues/245949.
This commit is contained in:
Andrew Marshall 2023-07-28 16:18:15 -04:00
parent 205b4117a5
commit ffabc8c658

View File

@ -9,7 +9,6 @@
{ name
, url ? null
, md5 ? ""
, sha1 ? ""
, sha256 ? ""
, sha512 ? ""
@ -23,7 +22,7 @@ let
source = if url == null then src else
fetchurl {
url = url;
inherit md5 sha1 sha256 sha512 hash;
inherit sha1 sha256 sha512 hash;
};
in
stdenv.mkDerivation {