Skip to content

Build failure: fishPlugins.pure #393104

@JumpIn-Git

Description

@JumpIn-Git

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

Just try to install/build it, it has a set of checks it goes though and those related to shown paths, and expected is the same as actual which i presume should indicate a success?

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.fishPlugins.pure.x86_64-linux

Relevant log output

Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/phyg1c5k1g7v143cxcn806fq1dfc8hd9-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: checkPhase
@nix { "action": "setPhase", "phase": "checkPhase" }
TAP version 13
# �[36m/build/source/tests/_pure.test.fish�(B�[m
ok 1 configure: pure_version
ok 2 configure: pure_symbol_prompt
ok 3 configure: pure_symbol_reverse_prompt
ok 4 configure: pure_reverse_prompt_symbol_in_vimode
ok 5 configure: pure_enable_git
ok 6 configure: pure_symbol_git_unpulled_commits
ok 7 configure: pure_symbol_git_unpushed_commits
ok 8 configure: pure_symbol_git_dirty
ok 9 configure: pure_symbol_git_stash
ok 10 configure: pure_symbol_title_bar_separator
ok 11 configure: pure_color_primary
ok 12 configure: pure_color_info
ok 13 configure: pure_color_mute
ok 14 configure: pure_color_success
ok 15 configure: pure_color_normal
ok 16 configure: pure_color_danger
ok 17 configure: pure_color_light
ok 18 configure: pure_color_warning
ok 19 configure: pure_color_command_duration
ok 20 configure: pure_color_current_directory
ok 21 configure: pure_color_git_unpushed_commits
ok 22 configure: pure_color_git_unpulled_commits
ok 23 configure: pure_color_git_branch
ok 24 configure: pure_color_git_dirty
ok 25 configure: pure_color_git_stash
ok 26 configure: pure_color_hostname
ok 27 configure: pure_color_at_sign
ok 28 configure: pure_color_username_normal
ok 29 configure: pure_color_username_root
ok 30 configure: pure_color_prompt_on_error
ok 31 configure: pure_color_prompt_on_success
ok 32 configure: pure_show_jobs
ok 33 configure: pure_color_jobs
ok 34 configure: pure_show_system_time
ok 35 configure: pure_color_system_time
ok 36 configure: pure_enable_virtualenv
ok 37 configure: pure_symbol_virtualenv_prefix
ok 38 configure: pure_color_virtualenv
ok 39 configure: pure_enable_aws_profile
ok 40 configure: pure_symbol_aws_profile_prefix
ok 41 configure: pure_color_aws_profile
ok 42 configure: pure_begin_prompt_with_current_directory
ok 43 configure: pure_separate_prompt_on_error
ok 44 configure: pure_threshold_command_duration
ok 45 configure: pure_show_subsecond_command_duration
ok 46 configure: pure_color_command_duration
ok 47 configure: pure_check_for_new_release
ok 48 configure: pure_show_prefix_root_prompt
ok 49 configure: pure_symbol_prefix_root_prompt
ok 50 configure: pure_color_prefix_root_prompt
ok 51 configure: pure_enable_single_line_prompt
ok 52 configure: pure_enable_container_detection
ok 53 configure: pure_symbol_container_prefix
ok 54 configure: pure_symbol_ssh_prefix
ok 55 configure: pure_enable_k8s
ok 56 configure: pure_symbol_k8s_prefix
ok 57 configure: pure_color_k8s_prefix
ok 58 configure: pure_color_k8s_context
ok 59 configure: pure_color_k8s_namespace
ok 60 configure: pure_truncate_prompt_current_directory_keeps
ok 61 configure: pure_truncate_window_title_current_directory_keeps
ok 62 configure: pure_enable_nixdevshell
ok 63 configure: pure_symbol_nixdevshell_prefix
ok 64 configure: pure_color_nixdevshell_prefix
ok 65 configure: pure_color_nixdevshell_symbol
# �[36m/build/source/tests/_pure_check_availability.test.fish�(B�[m
ok 66 _pure_check_availability: output help message when command is missing
ok 67 _pure_check_availability: exit with failure when command is missing
ok 68 _pure_check_availability: exit with success when command is available
# �[36m/build/source/tests/_pure_check_for_new_release.test.fish�(B�[m
ok 69 _pure_check_for_new_release: is disabled
ok 70 _pure_check_for_new_release: nothing when same as latest
ok 71 _pure_check_for_new_release: show fisher command to install when enable
ok 72 _pure_check_for_new_release: extract release version from JSON
# �[36m/build/source/tests/_pure_detect_container_by_cgroup_method.test.fish�(B�[m
ok 73 _pure_detect_container_by_cgroup_method: false for host OS
ok 74 _pure_detect_container_by_cgroup_method: true for Docker's container
ok 75 _pure_detect_container_by_cgroup_method: true for LXC/LXD's container (using namespace detail)
ok 76 _pure_detect_container_by_cgroup_method: true for LXC/LXD's container (using environment variable)
# �[36m/build/source/tests/_pure_detect_container_by_pid_method.test.fish�(B�[m
ok 77 _pure_detect_container_by_pid_method: ignored when /proc/*/scheg is missing
ok 78 _pure_detect_container_by_pid_method: when /proc/*/scheg exists
ok 79 _pure_detect_container_by_pid_method: false when detecting init in /proc/1/sched
ok 80 _pure_detect_container_by_pid_method: false when detecting systemd in /proc/1/sched
ok 81 _pure_detect_container_by_pid_method: true when 1st process is neither systemd nor init in /proc/1/sched
# �[36m/build/source/tests/_pure_format_time.test.fish�(B�[m
ok 82 _pure_format_time: throws error on negative time
ok 83 _pure_format_time: returns nothing if duration is below thresold time
ok 84 _pure_format_time: format 1s to human
ok 85 _pure_format_time: format 1050ms to human (show milliseconds)
ok 86 _pure_format_time: format 60s as a minutes to human
ok 87 _pure_format_time: format 59 minutes to human
ok 88 _pure_format_time: format 60min as an hour to human
ok 89 _pure_format_time: format 23 hours to human
ok 90 _pure_format_time: format 24 hours as a day to human
ok 91 _pure_format_time: format days to human
ok 92 _pure_format_time: format complex duration to human
ok 93 _pure_format_time_subseconds: empty when below threshold
ok 94 _pure_format_time_subseconds: show subsecond when above threshold
ok 95 _pure_format_time_subseconds: keep precision with zero-ending
# �[36m/build/source/tests/_pure_get_prompt_symbol.test.fish�(B�[m
ok 96 _pure_get_prompt_symbol: get default symbol ❯
ok 97 _pure_get_prompt_symbol: get default symbol ❯ when key binding is default
ok 98 _pure_get_prompt_symbol: get default symbol ❯ when bind mode is default
ok 99 _pure_get_prompt_symbol: get default symbol ❯ when VI key binding and in insert mode
ok 100 _pure_get_prompt_symbol: get default symbol ❯ when VI key binding and in replace mode
ok 101 _pure_get_prompt_symbol: get reverse symbol ❮ when VI key binding and not in insert mode or replace mode
ok 102 _pure_get_prompt_symbol: get reverse symbol ❮ when hybrid key binding and not in insert mode or replace mode
# �[36m/build/source/tests/_pure_init.test.fish�(B�[m
ok 103 init: _pure_fresh_session
ok 104 init: VIRTUAL_ENV_DISABLE_PROMPT
ok 105 pure_enable_container_detection: feature is disabled
ok 106 pure_enable_container_detection: feature is enabled
ok 107 _pure_is_inside_container: true for Github Action on Ubuntu
ok 108 _pure_is_inside_container: detect with  variable
ok 109 _pure_is_inside_container: returns false as default behavior
ok 110 _pure_is_inside_container: detect with pid method
ok 111 _pure_is_inside_container: detect with cgroup method
# �[36m/build/source/tests/_pure_is_single_line_prompt.test.fish�(B�[m
ok 112 _pure_is_single_line_prompt: fail when unset
ok 113 _pure_is_single_line_prompt: fail when not disable
ok 114 _pure_is_single_line_prompt: succeed when enable
# �[36m/build/source/tests/_pure_k8s_context.test.fish�(B�[m
ok 115 _pure_k8s_context: return context
ok 116 _pure_k8s_context: call `kubectl config current-context`
# �[36m/build/source/tests/_pure_k8s_namespace.test.fish�(B�[m
ok 117 _pure_k8s_namespace: return context
ok 118 _pure_k8s_namespace: call `kubectl config view…`
ok 119 _pure_k8s_namespace: return default when no namespace is set
# �[36m/build/source/tests/_pure_parse_directory.test.fish�(B�[m
ok 120 _pure_parse_directory: returns current directory
ok 121 _pure_parse_directory: replaces $HOME by ~
ok 122 _pure_parse_directory: shortens directory in prompt
ok 123 _pure_parse_directory: shorten current directory
ok 124 _pure_parse_directory: truncate 1, keeps only last directory name from current directory path
ok 125 _pure_parse_directory: truncate n last component from current directory path
ok 126 _pure_parse_directory: truncate 0, keeps full current directory path
# �[36m/build/source/tests/_pure_parse_git_branch.test.fish�(B�[m
ok 127 _pure_parse_git_branch: returns current branch
ok 128 _pure_parse_git_branch: returns number of commits behind current branch
# �[36m/build/source/tests/_pure_place_iterm2_prompt_mark.test.fish�(B�[m
ok 129 _pure_place_iterm2_prompt_mark: no iterm2 prompt mark when NOT in iTerm
ok 130 _pure_place_iterm2_prompt_mark: shows iterm2 prompt mark in iTerm
# �[36m/build/source/tests/_pure_prefix_root_prompt.test.fish�(B�[m
ok 131 _pure_prefix_root_prompt: is empty for unprivileged user
ok 132 _pure_prefix_root_prompt: is shown for `root` user
ok 133 _pure_prefix_root_prompt: colorize root prefix symbol
ok 134 _pure_prefix_root_prompt: require flag
# �[36m/build/source/tests/_pure_print_prompt.test.fish�(B�[m
ok 135 _pure_print_prompt: returns nothing when no argument provided
ok 136 _pure_print_prompt: trims prompt left side
ok 137 _pure_print_prompt: ignores color change argument
ok 138 _pure_print_prompt: allow colored argument
ok 139 _pure_print_prompt: multiple arguments
ok 140 _pure_print_prompt: multiple arguments with colors
# �[36m/build/source/tests/_pure_print_prompt_rows.test.fish�(B�[m
ok 141 _pure_print_prompt_rows: end with newline by default
ok 142 _pure_print_prompt_rows: end WITHOUT newline when compact-prompt is enable
# �[36m/build/source/tests/_pure_prompt.test.fish�(B�[m
ok 143 _pure_prompt: print prompt after succeeding command
ok 144 _pure_prompt: print prompt after failing command
ok 145 _pure_prompt: print root prefix
ok 146 _pure_prompt: no space before symbol in 2-lines prompt
ok 147 _pure_prompt: space before symbol in 1-line prompt
# �[36m/build/source/tests/_pure_prompt_aws_profile.test.fish�(B�[m
ok 148 _pure_prompt_aws_profile: ensure default behaviour has no error
ok 149 _pure_prompt_aws_profile: ensure default behaviour print nothing when no AWS variables
ok 150 _pure_prompt_aws_profile: print AWS_VAULT when present
ok 151 _pure_prompt_aws_profile: print AWS_PROFILE when present
ok 152 _pure_prompt_aws_profile: print only AWS_VAULT when vault and profile are present
# �[36m/build/source/tests/_pure_prompt_beginning.test.fish�(B�[m
ok 153 _pure_prompt_beginning: clear line before printing prompt
# �[36m/build/source/tests/_pure_prompt_command_duration.test.fish�(B�[m
ok 154 _pure_prompt_command_duration: hide command duration when it's zero
ok 155 _pure_prompt_command_duration: displays command duration when non-zero
ok 156 _pure_prompt_command_duration: displays command duration with ms when non-zero
# �[36m/build/source/tests/_pure_prompt_container.test.fish�(B�[m
ok 157 _pure_prompt_container: print nothing when outside a container
ok 158 _pure_prompt_container: check is inside a container
# �[36m/build/source/tests/_pure_prompt_current_folder.test.fish�(B�[m
ok 159 _pure_prompt_current_folder: fails if no argument given
ok 160 _pure_prompt_current_folder: returns current folder
# �[36m/build/source/tests/_pure_prompt_ending.test.fish�(B�[m
ok 161 _pure_prompt_ending: reset color to normal
# �[36m/build/source/tests/_pure_prompt_first_line.test.fish�(B�[m
ok 162 _pure_prompt_first_line: print current directory, git, user@hostname (ssh-only), command duration
ok 163 _pure_prompt_first_line: print user@hostname (ssh-only), current directory, git, command duration
ok 164 _pure_prompt_first_line: show kubernetes context and namespace
# �[36m/build/source/tests/_pure_prompt_git.test.fish�(B�[m
ok 165 _pure_prompt_git: fails when git is missing
ok 166 _pure_prompt_git: ignores directory that are not git repository
ok 167 _pure_prompt_git: activates on git repository
ok 168 _pure_prompt_git: activates on dirty repository
ok 169 _pure_prompt_git: activates on repository with upstream changes
ok 170 _pure_prompt_git: returns an  string when pure_enable_git is false
# �[36m/build/source/tests/_pure_prompt_git_branch.test.fish�(B�[m
ok 171 _pure_prompt_git_branch: show branch name
ok 172 _pure_prompt_git_branch: colorize branch name
# �[36m/build/source/tests/_pure_prompt_git_dirty.test.fish�(B�[m
ok 173 _pure_prompt_git_dirty: empty repo is not marked as dirty
ok 174 _pure_prompt_git_dirty: untracked files in empty repo marked as dirty
ok 175 _pure_prompt_git_dirty: staged files in empty repo marked as dirty
ok 176 _pure_prompt_git_dirty: clean is not marked as dirty
ok 177 _pure_prompt_git_dirty: untracked files mark git repo as dirty
ok 178 _pure_prompt_git_dirty: staged files mark git repo as dirty
ok 179 _pure_prompt_git_dirty: symbol is colorized
# �[36m/build/source/tests/_pure_prompt_git_pending_commits.test.fish�(B�[m
ok 180 _pure_prompt_git_pending_commits: print nothing when no upstream repo
ok 181 _pure_prompt_git_pending_commits: show arrow UP when branch is AHEAD of upstream (need git push)
ok 182 _pure_prompt_git_pending_commits: show arrow DOWN when branch is BEHIND upstream (need git pull)
warning: You appear to have cloned an empty repository.
ok 183 _pure_prompt_git_pending_commits: empty repo don't throw error
ok 184 _pure_prompt_git_pending_commits: symbol is colorized
# �[36m/build/source/tests/_pure_prompt_git_stash.test.fish�(B�[m
ok 185 _pure_prompt_git_stash: no indicator when no stash
ok 186 _pure_prompt_git_stash: stashing file shows indicator
ok 187 _pure_prompt_git_stash: symbol is colorized
# �[36m/build/source/tests/_pure_prompt_jobs.test.fish�(B�[m
ok 188 _pure_prompt_jobs: no jobs indicator when there are no jobs
ok 189 _pure_prompt_jobs: displays number of jobs in prompt
ok 190 _pure_prompt_jobs: colorize jobs
# �[36m/build/source/tests/_pure_prompt_k8s.test.fish�(B�[m
ok 191 _pure_prompt_k8s: ensure default behaviour has no error
ok 192 _pure_prompt_k8s: ensure default behaviour print nothing
ok 193 _pure_prompt_k8s: print kubernetes context and namespace when present
ok 194 _pure_prompt_k8s: print nothing when context is not set
ok 195 _pure_prompt_k8s: print default when namespace is not set
# �[36m/build/source/tests/_pure_prompt_new_line.test.fish�(B�[m
ok 196 _pure_prompt_new_line: print prompt with newline for existing session
ok 197 _pure_prompt_new_line: print prompt without newline for new session
ok 198 _pure_prompt_new_line: print prompt without newline when single line prompt is enabled
ok 199 _pure_prompt_new_line: print prompt with newline for existing session
ok 200 _pure_prompt_new_line: clean prompt and print prompt with newline for existing session
ok 201 _pure_prompt_new_line: clean prompt and print prompt with newline for existing session
# �[36m/build/source/tests/_pure_prompt_nixdevshell.test.fish�(B�[m
ok 202 _pure_prompt_nixdevshell: ensure default behaviour has no error
ok 203 _pure_prompt_nixdevshell: ensure default behaviour print nothing
ok 204 _pure_prompt_nixdevshell: hide prompt outside nix dev shell
ok 205 _pure_prompt_nixdevshell: show prompt and status inside nix dev shell
# �[36m/build/source/tests/_pure_prompt_ssh.test.fish�(B�[m
ok 206 _pure_prompt_ssh: hide 'user@hostname' when working locally
ok 207 _pure_prompt_ssh: displays 'user@hostname' when on SSH connection (based on $hostname variable)
ok 208 _pure_prompt_ssh: displays ssh prefix when SSH connection detected
# �[36m/build/source/tests/_pure_prompt_symbol.test.fish�(B�[m
ok 209 _pure_prompt_symbol: colorizes prompt in green when last command succeed
ok 210 _pure_prompt_symbol: colorizes prompt in red when last command failed
ok 211 _pure_prompt_symbol: add a magenta prompt when pure_separate_prompt_on_error is enable and last command failed
# �[36m/build/source/tests/_pure_prompt_system_time.test.fish�(B�[m
ok 212 _pure_prompt_system_time: no system time when disable
ok 213 _pure_prompt_system_time: displays system time when enable
# �[36m/build/source/tests/_pure_prompt_vimode.test.fish�(B�[m
ok 214 _pure_prompt_vimode: hides vimode prompt by default
ok 215 _pure_prompt_vimode: show reverse prompt symbol when enable
ok 216 _pure_prompt_vimode: show vi_mode when reverse prompt symbol is disable (for ≥v3.3.0)
# �[36m/build/source/tests/_pure_prompt_virtualenv.test.fish�(B�[m
ok 217 _pure_prompt_virtualenv: hide virtualenv prompt when not activated
ok 218 _pure_prompt_virtualenv: hide virtualenv prompt when env variable is absent
ok 219 _pure_prompt_virtualenv: displays virtualenv directory prompt
ok 220 _pure_prompt_virtualenv: displays virtualenv symbol prefix
ok 221 _pure_prompt_virtualenv: hides Conda virtualenv prompt when not activated
ok 222 _pure_prompt_virtualenv: displays Conda virtualenv directory prompt
ok 223 _pure_prompt_virtualenv: displays virtualenv symbol prefix
# �[36m/build/source/tests/_pure_set_color.test.fish�(B�[m
ok 224 _pure_set_color: set using a named color
ok 225 _pure_set_color: empty value do not colorize
ok 226 _pure_set_color: resolve variable value
# �[36m/build/source/tests/_pure_set_default.test.fish�(B�[m
ok 227 _pure_set_default: set value when variable doesn't exist on any scope
ok 228 _pure_set_default: ignore value when variable already declared on UNIVERSAL scope
ok 229 _pure_set_default: set value when declared on UNIVERSAL scope but is an empty string (i.e. prevent empty colors)
ok 230 _pure_set_default: ignore value when variable already declared on GLOBAL scope
ok 231 _pure_set_default: ignore value when declared on GLOBAL scope but is an empty string (i.e. prevent empty colors)
# �[36m/build/source/tests/_pure_string_width.test.fish�(B�[m
ok 232 _pure_string_width: measure empty string
ok 233 _pure_string_width: measure raw string
ok 234 _pure_string_width: measure ANSI-colored string
ok 235 _pure_string_width: measure raw UTF-8 string
ok 236 _pure_string_width: measure ANSI-colored UTF-8 string
ok 237 _pure_string_width: accept double dash in string
# �[36m/build/source/tests/_pure_user_at_host.test.fish�(B�[m
ok 238 _pure_user_at_host: standard user
ok 239 _pure_user_at_host: root user
ok 240 _pure_user_at_host: colorize for normal user
ok 241 _pure_user_at_host: colorize for root user
# �[36m/build/source/tests/fish_greeting.test.fish�(B�[m
ok 242 fish_greeting: succeeds
ok 243 fish_greeting: returns nothing
# �[36m/build/source/tests/fish_mode_prompt.test.fish�(B�[m
ok 244 fish_mode_prompt: succeed
ok 245 fish_mode_prompt: returns nothing
# �[36m/build/source/tests/fish_prompt.test.fish�(B�[m
ok 246 fish_prompt: succeed
ok 247 fish_prompt: print segments
ok 248 fish_prompt: change with exit status
ok 249 fish_prompt: disable _pure_fresh_session
ok 250 fish_prompt: use 2-lines prompt by default
ok 251 fish_prompt: use 1-line compact-prompt
# �[36m/build/source/tests/fish_title.test.fish�(B�[m
not ok 252 fish_title: contains current directory and previous command
  ---
    operator: =
    expected: '/tmp/current/directory: last-command - fish'
    actual: '/tmp/current/directory: last-command - fish '
    at: /build/source/tests/fish_title.test.fish:13
  ...
not ok 253 fish_title: contains current directory with an *empty* previous command
  ---
    operator: =
    expected: '/tmp/current/directory - fish'
    actual: '/tmp/current/directory - fish '
    at: /build/source/tests/fish_title.test.fish:18
  ...
not ok 254 fish_title: contains current path without a previous command
  ---
    operator: =
    expected: '/tmp/current/directory - fish'
    actual: '/tmp/current/directory - fish '
    at: /build/source/tests/fish_title.test.fish:22
  ...
not ok 255 fish_title: contains shorten (1) current path
  ---
    operator: =
    expected: '/t/c/directory - fish'
    actual: '/t/c/directory - fish '
    at: /build/source/tests/fish_title.test.fish:27
  ...
not ok 256 fish_title: contains shorten (2) current path
  ---
    operator: =
    expected: '/tm/cu/directory - fish'
    actual: '/tm/cu/directory - fish '
    at: /build/source/tests/fish_title.test.fish:32
  ...
# �[36m/build/source/tests/migration-to-4.0.0.test.fish�(B�[m
ok 257 migrate all variables
# �[36m/build/source/tests/pure_tools_versions-compare.test.fish�(B�[m
ok 258 fish_version_below: fails on itself
ok 259 fish_version_below: succeed when FISH_VERSION is lower
ok 260 fish_version_below: fails when FISH_VERSION is higher
ok 261 fish_version_at_least: succeed on itself
ok 262 fish_version_at_least: fails when FISH_VERSION is lower
ok 263 fish_version_at_least: succeed when FISH_VERSION is higher

1..263
# pass 258
# fail 5

Additional context

the weird characters are coloring for the paths

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.13.7-zen1, NixOS, 25.05 (Warbler), 25.05.20250319.a84ebe2
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.12
  • channels(root): "nixos-24.11"
  • nixpkgs: /nix/store/1728d3jg85mkz2w2cvk6vi74i30fn6x7-source

Notify maintainers


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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions