Merge pull request #164925 from SuperSandro2000/onefetch

This commit is contained in:
Sandro 2022-03-20 04:36:30 +01:00 committed by GitHub
commit 64fe9150cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,8 +22,15 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-16oiZAyj6haBk6mgUT25pPDUrCMd7pGo2kAQ0gTe2kM=";
};
cargoPatches = [
# enable pkg-config feature of zstd
cargoPatches = [ ./zstd-pkg-config.patch ];
./zstd-pkg-config.patch
# fix flaky test
(fetchpatch {
url = "https://github.com/o2sh/onefetch/commit/2c1f2f0b2c666f6ce94af0299f88048dd1d83484.patch";
sha256 = "sha256-pI3yCFYkqOmLgKnCwexv1LcCrCkhi44zhEAx0szaMkg=";
})
];
cargoSha256 = "sha256-6wnfn33mfye5o/vY1JQX1Lc4+jzHiKKgGsSLxeJWyFc=";