diff options
-rw-r--r-- | gnu/packages/search.scm | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm index 6f8d673694..87f29c5424 100644 --- a/gnu/packages/search.scm +++ b/gnu/packages/search.scm @@ -487,8 +487,17 @@ conflict with slocate compatibility.") (arguments `(#:configure-flags (list - (string-append - "--sharedstatedir=" (assoc-ref %outputs "out") "/var")))) + ;; Put the database in /var/cache/plocate.db + "--sharedstatedir=/var" + "-Dinstall_systemd=false" + "-Ddbpath=cache/plocate.db") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-cachedirtag + (lambda _ + (substitute* "meson.build" + ;; Remove the script adding a "cachedirtag" + (("meson.add_install_script") "#"))))))) (inputs (list liburing `(,zstd "lib"))) |