fix(pkgs): use zstd from pkgsBuildBuild

This allows for crane to work when `buildPlatform != hostPlatform`, such
as well `crossSystem` is set.
This commit is contained in:
Bernardo Meurer 2022-02-08 18:23:53 -08:00
parent 5afc3e94fd
commit 91c9a89625
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246

View File

@ -2,7 +2,7 @@
, makeSetupHook
, jq
, rsync
, zstd
, pkgsBuildBuild
}:
{
@ -20,7 +20,7 @@
{
name = "inheritCargoArtifactsHook";
substitutions = {
zstd = "${zstd}/bin/zstd";
zstd = "${pkgsBuildBuild.zstd}/bin/zstd";
};
} ./inheritCargoArtifactsHook.sh;
@ -28,7 +28,7 @@
{
name = "installCargoArtifactsHook";
substitutions = {
zstd = "${zstd}/bin/zstd";
zstd = "${pkgsBuildBuild.zstd}/bin/zstd";
};
} ./installCargoArtifactsHook.sh;