Skip to content

Commit

Permalink
buildPecl: pass hash attr to fetchurl
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-re-ka committed Sep 25, 2023
1 parent 938bfe2 commit 5d20a2b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/build-support/php/build-pecl.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5d20a2b

Please sign in to comment.