From a3006991c3bda39bd1493b370c117be07fd7b078 Mon Sep 17 00:00:00 2001
From: Someone Serge <sergei.kozlukov@aalto.fi>
Date: Sun, 3 Dec 2023 03:49:22 +0000
Subject: [PATCH] lib/customisation: fix eval error (attribute "levenshtein"
 missing)

---
 lib/customisation.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/customisation.nix b/lib/customisation.nix
index 462a85908c06..4de6f58a6aed 100644
--- a/lib/customisation.nix
+++ b/lib/customisation.nix
@@ -5,11 +5,11 @@ let
     intersectAttrs;
   inherit (lib)
     functionArgs isFunction mirrorFunctionArgs isAttrs setFunctionArgs
-    optionalAttrs attrNames levenshtein filter elemAt concatStringsSep sort take length
+    optionalAttrs attrNames filter elemAt concatStringsSep sort take length
     filterAttrs optionalString flip pathIsDirectory head pipe isDerivation listToAttrs
     mapAttrs seq flatten deepSeq warnIf isInOldestRelease extends
     ;
-  inherit (lib.strings) levenshteinAtMost;
+  inherit (lib.strings) levenshtein levenshteinAtMost;
 
 in
 rec {