mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
fetchfirefoxaddon: fix passing md5 to fetchurl
Broken in 6f30e0a906
.
See https://github.com/NixOS/nixpkgs/issues/245949.
This commit is contained in:
parent
205b4117a5
commit
ffabc8c658
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user