mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-26 09:08:57 +03:00
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:
parent
5afc3e94fd
commit
91c9a89625
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user