diff options
author | hqurve <hqurve@outlook.com> | 2022-06-18 09:10:52 -0400 |
---|---|---|
committer | hqurve <hqurve@outlook.com> | 2022-06-18 20:37:09 -0400 |
commit | 1fc4712f15ea60e7a69c79baebf233b23063122d (patch) | |
tree | ffaa87624169770702bbcc38e86b3d794955fb2e /pkgs | |
parent | fdb531e995876debe015712fe4b96464196def58 (diff) |
rPackages.gifski: fix build
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/r-modules/default.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 96eb2364d3f60..afd1bb4d7523e 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -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"; |