diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-10-03 00:10:39 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-10-03 00:10:39 +0200 |
commit | 5d230261c9a4f282b6e841dca1e77b16b9cf7e12 (patch) | |
tree | 75cfe1d3fdf9cf956cbf8cb4dc1557b37b8d327e /pkgs/tools/misc/mlocate | |
parent | 0c19eb6916ade1024700a42ef72ba69656053f3c (diff) |
mlocate: fix default dbfile location after #258575
Diffstat (limited to 'pkgs/tools/misc/mlocate')
-rw-r--r-- | pkgs/tools/misc/mlocate/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/misc/mlocate/default.nix b/pkgs/tools/misc/mlocate/default.nix index 4cc86df5a8977..c9253be930afe 100644 --- a/pkgs/tools/misc/mlocate/default.nix +++ b/pkgs/tools/misc/mlocate/default.nix @@ -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"; |