mlocate: fix default dbfile location after #258575

This commit is contained in:
Sandro Jäckel 2023-10-03 00:10:39 +02:00
parent 0c19eb6916
commit 5d230261c9
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -5,10 +5,14 @@ stdenv.mkDerivation rec {
version = "0.26";
src = fetchurl {
url = "https://releases.pagure.org/mlocate/${pname}-${version}.tar.xz";
url = "https://releases.pagure.org/mlocate/mlocate-${version}.tar.xz";
sha256 = "0gi6y52gkakhhlnzy0p6izc36nqhyfx5830qirhvk3qrzrwxyqrh";
};
makeFlags = [
"dbfile=/var/cache/locatedb"
];
meta = with lib; {
description = "Merging locate is an utility to index and quickly search for files";
homepage = "https://pagure.io/mlocate";