commit
766d6de293
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, cmake
|
, cmake
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
@ -30,6 +31,14 @@ rustPlatform.buildRustPackage rec {
|
||||||
./zstd-pkg-config.patch
|
./zstd-pkg-config.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "use-iso-time-for-snapshot-tests";
|
||||||
|
url = "https://github.com/o2sh/onefetch/commit/b8b0320d2d271bb10053403092833a26e57134d1.patch";
|
||||||
|
hash = "sha256-LnC+UCvSwMePC4jBjrTKnbyypNvHHNevB2v4y+hv8Pc=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake installShellFiles pkg-config ];
|
nativeBuildInputs = [ cmake installShellFiles pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ zstd ]
|
buildInputs = [ zstd ]
|
||||||
|
|
Loading…
Reference in a new issue