1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

Merge pull request #320464 from rhelmot/freebsd-lesspipe

lesspipe: handle use of locale on FreeBSD
This commit is contained in:
Aleksana 2024-06-18 23:19:09 +08:00 committed by GitHub
commit bbd1266b37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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" ];