Skip to content

tealdeer 1.8.1: Test faillure on macOS #462177

Closed

Description

@Mayeu

Nixpkgs version

  • Unstable (25.11)

Describe the bug

Hello 👋

The update of tealdeer to 1.8.1 (#460820) broke the build on macOS. One of the test doesn't work (full log on Hydra)

Steps to reproduce

Try to run tealdeer from the current unstable version of nixpkgs:

nix run 'flake:nixpkgs/nixpkgs-unstable#tealdeer'

Expected behaviour

tealdeer compile and can be run on macOS

Screenshots

No response

Relevant log output

test test_warn_invalid_tls_backend ... FAILED(B

failures:

---- test_warn_invalid_tls_backend stdout ----

thread 'test_warn_invalid_tls_backend' panicked at /private/tmp/nix-build-rustc-1.90.0.drv-1/rustc-1.90.0-src/library/core/src/ops/function.rs:253:5:
Unexpected stderr, failed var.contains(unknown variant `invalid-tls-backend`, expected one of `native-tls`, `rustls-with-webpki-roots`, `rustls-with-native-roots`)
├── var: 
└── var as str: 

command=`env -u EDITOR -u LANG -u LANGUAGE -u NO_COLOR -u TEALDEER_CACHE_DIR TEALDEER_CONFIG_DIR="/private/tmp/nix-build-tealdeer-1.8.1.drv-0/.tldr.testb7AQ9A/.config" "/private/tmp/nix-build-tealdeer-1.8.1.drv-0/source/target/aarch64-apple-darwin/release/tldr" "sl"`
code=<interrupted>
stdout=""
stderr=""



failures:
    test_warn_invalid_tls_backend

test result: FAILED(B. 37 passed; 1 failed; 0 ignored; 0 measured; 11 filtered out; finished in 117.42s

error: test failed, to rerun pass `--test lib`

Additional context

No response

System metadata

  • system: "aarch64-darwin"
  • host os: Darwin 24.6.0, macOS 15.7.2
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.31.2
  • channels(root): "nixpkgs"
  • channels(m): "darwin, nixpkgs-22.11-darwin, unstable"
  • nixpkgs: /nix/store/iy809l9rvmh7868m88i270d7nrlvrz2q-nixpkgs/nixpkgs

Are you using nix-darwin?

Yes, I am using nix-darwin.

Notify maintainers

@davidak @newAM @mfrw @ryan4yin


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: bug
    6.topic: darwin
    on Nov 16, 2025
  2. schemar commented on Nov 17, 2025

    @schemar

    For me it's test_custom_patch_appends_to_common

    error: Cannot build '/nix/store/1wxgvpn7wcrv9y09g7vvlhh7xypnn092-tealdeer-1.8.1.drv'.
           Reason: builder failed with exit code 101.
           Output paths:
             /nix/store/mzvwbmndz8m28krkm9maijr6gvfcjngg-tealdeer-1.8.1
           Last 25 log lines:
           > test test_show_title_config ... ok(B
           > test test_setup_seed_config ... ok(B
           > test test_search_language_precedence ... ok(B
           >
           > failures:
           >
           > ---- test_custom_patch_appends_to_common stdout ----
           >
           > thread 'test_custom_patch_appends_to_common' panicked at /private/tmp/nix-build-rustc-1.90.0.drv-1/rustc-1.90.0-src/library/core/src/ops/function.rs:253:5:
           > Unexpected failure.
           > code=<interrupted>
           > stderr=```""```
           > command=`env -u EDITOR -u LANG -u LANGUAGE -u NO_COLOR -u TEALDEER_CACHE_DIR TEALDEER_CONFIG_DIR="/nix/var/nix/builds/nix-98267-2496425165/.tldr.testJajN5i/.config" "/nix/var/nix/builds/nix-98267-2496425165/source/target/aarch64-apple-darwin/release/tldr" "inkscape-v2" "--color" "never"`
           > code=<interrupted>
           > stdout=""
           > stderr=""
           >
           >
           >
           > failures:
           >     test_custom_patch_appends_to_common
           >
           > test result: FAILED(B. 37 passed; 1 failed; 0 ignored; 0 measured; 11 filtered out; finished in 98.81s
           >
           > error: test failed, to rerun pass `--test lib`
    

    EDIT: Now it passes without changing the flake's inputs.

  3. self-assigned this
    on Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

0.kind: bug6.topic: darwin

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions