php: sha256 -> hash

This commit is contained in:
ajs124 2022-07-08 18:22:14 +02:00
parent f65b415ffc
commit 3020f0014c
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
let let
base = callPackage ./generic.nix (_args // { base = callPackage ./generic.nix (_args // {
version = "8.0.20"; version = "8.0.20";
sha256 = "y3Zmv2ftn2yYfUg2yvA9SzZFN+anXlbNXJhnYOzC/dg="; hash = "sha256-y3Zmv2ftn2yYfUg2yvA9SzZFN+anXlbNXJhnYOzC/dg=";
}); });
in in

View File

@ -3,7 +3,7 @@
let let
base = callPackage ./generic.nix (_args // { base = callPackage ./generic.nix (_args // {
version = "8.1.7"; version = "8.1.7";
sha256 = "uBZ1PrAFUR5pXZCUXCcJPDI2zHPbEmJlbZ+t1z6tfp0="; hash = "sha256-uBZ1PrAFUR5pXZCUXCcJPDI2zHPbEmJlbZ+t1z6tfp0=";
}); });
in in

View File

@ -29,7 +29,7 @@ let
, xcbuild , xcbuild
, version , version
, sha256 , hash
, extraPatches ? [ ] , extraPatches ? [ ]
, packageOverrides ? (final: prev: { }) , packageOverrides ? (final: prev: { })
, phpAttrsOverrides ? (attrs: { }) , phpAttrsOverrides ? (attrs: { })
@ -290,7 +290,7 @@ let
src = fetchurl { src = fetchurl {
url = "https://www.php.net/distributions/php-${version}.tar.bz2"; url = "https://www.php.net/distributions/php-${version}.tar.bz2";
inherit sha256; inherit hash;
}; };
patches = [ ./fix-paths-php7.patch ] ++ extraPatches; patches = [ ./fix-paths-php7.patch ] ++ extraPatches;