zchunk: fix build on darwin

This commit is contained in:
Weijia Wang
2022-12-23 06:45:19 +01:00
parent 338bf0b325
commit 0451d30686
@@ -20,11 +20,6 @@ stdenv.mkDerivation rec {
hash = "sha256-YzCEQuG38lVhCwZznhIyny6Yya8iNuhdqgYBz9OhGOc=";
};
# unbreak on darwin by finding argp-standalone, based on the patch from
# buildroot:
# https://github.com/buildroot/buildroot/raw/master/package/zchunk/0001-meson-fix-argp-standalone-wrap-and-find_library.patch
patches = lib.optional stdenv.isDarwin ./0001-meson-fix-argp-standalone.patch;
nativeBuildInputs = [
meson
ninja