lesspipe: handle use of locale on FreeBSD

This commit is contained in:
Audrey Dutcher 2024-06-07 09:14:12 -07:00
parent 38d3352a65
commit 78e7dfd81e

View File

@ -74,9 +74,9 @@ stdenv.mkDerivation rec {
"mdcat" "pandoc" "docx2txt" "libreoffice" "pptx2md" "mdcat" "xlscat" "odt2txt" "wvText" "antiword" "catdoc"
"broken_catppt" "sxw2txt" "groff" "mandoc" "unrtf" "dvi2tty" "pod2text" "perldoc" "h5dump" "ncdump" "matdump"
"djvutxt" "openssl" "gpg" "plistutil" "plutil" "id3v2" "csvlook" "jq" "zlib-flate" "lessfilter"
] ++ lib.optional stdenv.isDarwin [
# resholve only identifies this on darwin
# call site is gaurded by || so it's safe to leave dynamic
] ++ lib.optional (stdenv.isDarwin || stdenv.isFreeBSD) [
# resholve only identifies this on darwin/bsd
# call site is guarded by || so it's safe to leave dynamic
"locale"
];
builtin = [ "setopt" ];