rdfind: fix build

This commit is contained in:
William Kral
2022-05-10 17:35:09 -07:00
parent f97ef46344
commit cb7412c787
+9 -1
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, nettle }:
{ lib, stdenv, fetchpatch, fetchurl, nettle }:
stdenv.mkDerivation rec {
pname = "rdfind";
@@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
sha256 = "103hfqzgr6izmj57fcy4jsa2nmb1ax43q4b5ij92pcgpaq9fsl21";
};
patches = [
(fetchpatch {
name = "include-limits.patch";
url = "https://github.com/pauldreik/rdfind/commit/61877de88d782b63b17458a61fcc078391499b29.patch";
sha256 = "0igzm4833cn905pj84lgr88nd5gx35dnjl8kl8vrwk7bpyii6a8l";
})
];
buildInputs = [ nettle ];
meta = with lib; {