Merge pull request #178147 from hqurve/r-gifksi

rPackages.gifski: fix build
This commit is contained in:
Justin Bedő 2022-06-21 08:13:23 +10:00 committed by GitHub
commit e70a58eb4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -938,6 +938,22 @@ let
];
otherOverrides = old: new: {
gifski = old.gifski.overrideDerivation (attrs: {
cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
src = attrs.src;
sourceRoot = "gifski/src/myrustlib";
hash = "sha256-vBrTQ+5JZA8554Aasbqw7mbaOfJNQjrOpG00IXAcamI=";
};
cargoRoot = "src/myrustlib";
nativeBuildInputs = attrs.nativeBuildInputs ++ [
pkgs.rustPlatform.cargoSetupHook
pkgs.cargo
pkgs.rustc
];
});
stringi = old.stringi.overrideDerivation (attrs: {
postInstall = let
icuName = "icudt52l";