Unverified Commit 5d230261 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

mlocate: fix default dbfile location after #258575

parent 0c19eb69
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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";