onefetch: patch flaky test

This commit is contained in:
Sandro Jäckel 2022-03-20 04:11:30 +01:00
parent 859c4a61a3
commit d31c6bd0eb
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -22,8 +22,15 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-16oiZAyj6haBk6mgUT25pPDUrCMd7pGo2kAQ0gTe2kM=";
};
# enable pkg-config feature of zstd
cargoPatches = [ ./zstd-pkg-config.patch ];
cargoPatches = [
# enable pkg-config feature of zstd
./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=";