Merge pull request #271806 from SomeoneSerge/fix/customization-levenshtein-missing

lib/customisation: fix eval error (attribute "levenshtein" missing)
This commit is contained in:
adisbladis 2023-12-03 17:51:51 +13:00 committed by GitHub
commit 3cf86d366e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,11 +5,11 @@ let
intersectAttrs; intersectAttrs;
inherit (lib) inherit (lib)
functionArgs isFunction mirrorFunctionArgs isAttrs setFunctionArgs 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 filterAttrs optionalString flip pathIsDirectory head pipe isDerivation listToAttrs
mapAttrs seq flatten deepSeq warnIf isInOldestRelease extends mapAttrs seq flatten deepSeq warnIf isInOldestRelease extends
; ;
inherit (lib.strings) levenshteinAtMost; inherit (lib.strings) levenshtein levenshteinAtMost;
in in
rec { rec {