Merge pull request #207378 from wegank/zchunk-darwin

zchunk: fix build on darwin
This commit is contained in:
Anderson Torres 2022-12-23 06:54:00 -03:00 committed by GitHub
commit bc55008de1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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