buildPecl: pass hash attr to fetchurl
This commit is contained in:
parent
938bfe28ac
commit
5d20a2b99a
1 changed files with 2 additions and 3 deletions
|
@ -8,10 +8,9 @@
|
|||
, nativeBuildInputs ? [ ]
|
||||
, postPhpize ? ""
|
||||
, makeFlags ? [ ]
|
||||
, src ? fetchurl {
|
||||
, src ? fetchurl ({
|
||||
url = "https://pecl.php.net/get/${pname}-${version}.tgz";
|
||||
inherit (args) sha256;
|
||||
}
|
||||
} // lib.filterAttrs (attrName: _: lib.elem attrName [ "sha256" "hash" ]) args)
|
||||
, passthru ? { }
|
||||
, ...
|
||||
}@args:
|
||||
|
|
Loading…
Reference in a new issue