Commit 5d20a2b9 authored by Yureka's avatar Yureka
Browse files

buildPecl: pass hash attr to fetchurl

parent 938bfe28
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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: