From da67ee29e484d38b6fc22acfeb7524fa0370b2ca Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Date: Wed, 8 Nov 2023 20:24:03 -0500 Subject: [PATCH] Changed mlocate to slocate --- config/common.nix | 4 ++-- pkgs/util/default.nix | 2 +- pkgs/util/mlocate/config.nix | 4 ---- pkgs/util/slocate/config.nix | 4 ++++ pkgs/util/{mlocate => slocate}/default.nix | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 pkgs/util/mlocate/config.nix create mode 100644 pkgs/util/slocate/config.nix rename pkgs/util/{mlocate => slocate}/default.nix (91%) diff --git a/config/common.nix b/config/common.nix index 98901a1..56b2ac2 100644 --- a/config/common.nix +++ b/config/common.nix @@ -1192,7 +1192,7 @@ }; }; }; - mlocate = lib.mkOption { + slocate = lib.mkOption { type = lib.types.submodule { options = { enabled = lib.mkOption { @@ -1200,7 +1200,7 @@ default = false; example = true; description = '' - Whether or not mlocate has been installed. + Whether or not slocate has been installed. ''; }; }; diff --git a/pkgs/util/default.nix b/pkgs/util/default.nix index d3d5c28..2ba8c98 100644 --- a/pkgs/util/default.nix +++ b/pkgs/util/default.nix @@ -27,6 +27,6 @@ ./inetutils ./ispell ./tqsl - ./mlocate + ./slocate ]; } diff --git a/pkgs/util/mlocate/config.nix b/pkgs/util/mlocate/config.nix deleted file mode 100644 index c7a2d95..0000000 --- a/pkgs/util/mlocate/config.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ config, ... }: -{ - config.provides.util.mlocate.enabled = true; -} diff --git a/pkgs/util/slocate/config.nix b/pkgs/util/slocate/config.nix new file mode 100644 index 0000000..6a64e34 --- /dev/null +++ b/pkgs/util/slocate/config.nix @@ -0,0 +1,4 @@ +{ config, ... }: +{ + config.provides.util.slocate.enabled = true; +} diff --git a/pkgs/util/mlocate/default.nix b/pkgs/util/slocate/default.nix similarity index 91% rename from pkgs/util/mlocate/default.nix rename to pkgs/util/slocate/default.nix index 53c6644..3e4cd12 100644 --- a/pkgs/util/mlocate/default.nix +++ b/pkgs/util/slocate/default.nix @@ -5,6 +5,6 @@ ]; environment.systemPackages = with pkgs; [ - mlocate + slocate ]; } -- GitLab