zstd: Fix cross

CMake is a build-time dep, so we need to override it with
`buildPackages`, explicitly.
This commit is contained in:
John Ericson 2020-06-20 15:21:19 +00:00
parent 40178ea3a2
commit a997afb7da

@ -7929,8 +7929,8 @@ in
zssh = callPackage ../tools/networking/zssh { };
zstd = callPackage ../tools/compression/zstd {
cmake = cmake.override {
libarchive = libarchive.override { zstd = null; };
cmake = buildPackages.cmake.override {
libarchive = buildPackages.libarchive.override { zstd = null; };
};
};