Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created February 15, 2021 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r-rmcgibbo/6a97557cabfac480d25d799f00262e6b to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/6a97557cabfac480d25d799f00262e6b to your computer and use it in GitHub Desktop.
system: x86_64-linux | build_time: a moment | https://github.com/NixOS/nixpkgs/pull/113232
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/vryiy7vmmfkhvrlrphjmkq9pc6vnb531-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
@nix { "action": "setPhase", "phase": "buildPhase" }
building
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
TAP version 13
ok 1 init: _pure_fresh_session
ok 2 init: VIRTUAL_ENV_DISABLE_PROMPT
ok 3 _pure_check_for_new_release: is disabled
ok 4 _pure_check_for_new_release: nothing when same as latest
ok 5 _pure_check_for_new_release: show fisher command to install when enable
ok 6 _pure_check_for_new_release: extract release version from JSON
ok 7 _pure_place_iterm2_prompt_mark: no iterm2 prompt mark when NOT in iTerm
ok 8 _pure_place_iterm2_prompt_mark: shows iterm2 prompt mark in iTerm
ok 9 _pure_get_prompt_symbol: get default symbol ❯
ok 10 _pure_get_prompt_symbol: get default symbol ❯ when key binding is default
ok 11 _pure_get_prompt_symbol: get default symbol ❯ when bind mode is default
ok 12 _pure_get_prompt_symbol: get default symbol ❯ when VI key binding and in insert mode
ok 13 _pure_get_prompt_symbol: get default symbol ❯ when VI key binding and in replace mode
ok 14 _pure_get_prompt_symbol: get reverse symbol ❮ when VI key binding and not in insert mode or replace mode
ok 15 _pure_get_prompt_symbol: get reverse symbol ❮ when hybrid key binding and not in insert mode or replace mode
ok 16 _pure_prompt_beginning: clear line before printing prompt
ok 17 _pure_parse_directory: returns current directory
ok 18 _pure_parse_directory: replaces $HOME by ~
ok 19 _pure_parse_directory: shortens directory in prompt
ok 20 _pure_prompt_command_duration: hide command duration when it's zero
ok 21 _pure_prompt_command_duration: displays command duration when non-zero
ok 22 _pure_prompt_command_duration: displays command duration with ms when non-zero
ok 23 _pure_prefix_root_prompt: is empty for unprivileged user
ok 24 _pure_prefix_root_prompt: is shown for `root` user
ok 25 _pure_prefix_root_prompt: require flag
ok 26 _pure_print_prompt: returns nothing when no argument provided
ok 27 _pure_print_prompt: trims prompt left side
ok 28 _pure_print_prompt: ignores color change argument
ok 29 _pure_print_prompt: allow colored argument
ok 30 _pure_parse_git_branch: returns current branch
ok 31 _pure_parse_git_branch: returns number of commits behind current branch
ok 32 _pure_prompt_ending: reset color to normal
ok 33 _pure_prompt_current_folder: fails if no argument given
ok 34 _pure_prompt_current_folder: returns current folder
test: Missing argument at index 2
/build/source/tests/../functions/_pure_prompt_symbol.fish (line 11):
if test $exit_code -ne $command_succeed
^
in function '_pure_prompt_symbol'
called on line 1 of file /build/source/tests/../functions/_pure_prompt.fish
in command substitution
called on line 8 of file /build/source/tests/../functions/_pure_prompt.fish
in function '_pure_prompt'
in command substitution
(Type 'help test' for related documentation)
ok 35 configure: pure_color_primary
ok 36 _pure_prompt: print prompt after failing command
ok 37 _pure_prompt: print root prefix
ok 38 _pure_prompt_git_branch: show branch name in gray
ok 39 _pure_prompt_jobs: no jobs indicator when there are no jobs
ok 40 _pure_prompt_jobs: displays number of jobs in prompt
ok 41 _pure_format_time: throws error on negative time
ok 42 _pure_format_time: returns nothing if duration is below thresold time
ok 43 _pure_format_time: format 1s to human
ok 44 _pure_format_time: format 1050ms to human (show milliseconds)
ok 45 _pure_format_time: format 60s as a minutes to human
ok 46 _pure_format_time: format 59 minutes to human
ok 47 _pure_format_time: format 60min as an hour to human
ok 48 _pure_format_time: format 23 hours to human
ok 49 _pure_format_time: format 24 hours as a day to human
ok 50 _pure_format_time: format days to human
ok 51 _pure_format_time: format complex duration to human
ok 52 _pure_format_time_subseconds: empty when below threshold
ok 53 _pure_format_time_subseconds: show subsecond when above threshold
ok 54 _pure_format_time_subseconds: keep precision with zero-ending
only fish <3.0.0: (Bok 55 _pure_prompt_ssh: hide 'user@hostname' when working locally
ok 56 _pure_prompt_ssh: displays 'user@hostname' when on SSH connection (based on $hostname variable)
only fish <3.0.0: (Bok 57 _pure_prompt_first_line: fails when git is missing
ok 58 _pure_prompt_first_line: print current directory, git, user@hostname (ssh-only), command duration
ok 59 _pure_prompt_first_line: print user@hostname (ssh-only), current directory, git, command duration
ok 60 _pure_prompt_new_line: print prompt with newline for existing session
ok 61 _pure_prompt_new_line: print prompt without newline for new session
ok 62 _pure_prompt_ssh_host: use native $hostname
ok 63 _pure_prompt_ssh_separator: display at symbol
ok 64 _pure_prompt_ssh_separator: display colored at symbol
ok 65 _pure_prompt_git_dirty: untracked files make git repo as dirty
ok 66 _pure_prompt_git_dirty: staged files mark git repo as dirty
ok 67 _pure_prompt_symbol: colorizes prompt in green when last command succeed
ok 68 _pure_prompt_symbol: colorizes prompt in red when last command failed
ok 69 _pure_prompt_symbol: add a magenta prompt when pure_separate_prompt_on_error is enable and last command failed
ok 70 _pure_prompt_system_time: no system time when disable
ok 71 _pure_prompt_system_time: displays system time when enable
ok 72 init: source uninstall handler
ok 73 _pure_prompt_ssh_user: colorize standard user
ok 74 _pure_prompt_ssh_user: colorize root user
only fish <3.0.0: (Bok 75 fish_greeting: succeed
ok 76 fish_greeting: returns nothing
ok 77 _pure_prompt_vimode: hides vimode prompt by default
ok 78 _pure_prompt_vimode: show reverse prompt symbol when enable
ok 79 _pure_prompt_vimode: show vi_mode when reverse prompt symbol is disable
ok 80 fish_mode_prompt: succeed
ok 81 fish_mode_prompt: returns nothing
ok 82 _pure_prompt_virtualenv: hide virtualenv prompt when not activated
ok 83 _pure_prompt_virtualenv: displays virtualenv directory prompt
ok 84 _pure_prompt_virtualenv: hide Conda virtualenv prompt when not activated
ok 85 _pure_prompt_virtualenv: displays Conda virtualenv directory prompt
ok 86 _pure_prompt_git_stash: no indicator when no stash
ok 87 _pure_prompt_git_stash: stashing file shows indicator
ok 88 _pure_set_default: set my_var default value
ok 89 _pure_set_default: skip setting value if default already exists at universal scope
ok 90 _pure_set_default: overwrite UNIVERSAL empty value to make sure the user won't have empty colors.
ok 91 _pure_set_default: skip setting value if default already exists at global scope
ok 92 _pure_prompt_git: ignores directory that are not git repository
ok 93 _pure_prompt_git: activates on git repository
ok 94 _pure_prompt_git: activates on dirty repository
ok 95 _pure_prompt_git: activates on repository with upstream changes
ok 96 _pure_prompt_git: returns an string when pure_enable_git is false
only fish <3.0.0: (Bok 97 fish_prompt: succeed
ok 98 fish_prompt: print segments
ok 99 fish_prompt: change with exit status
ok 100 fish_prompt: disable _pure_fresh_session
fish: Unknown command: curl
/build/source/tests/../tools/installer.fish (line 37):
command curl --silent --show-error --location "$package" | command tar -xzf- -C $PURE_INSTALL_DIR --strip-components=1; or begin;
^
in function 'pure_fetch_source'
in command substitution
only fish <3.0.0: (Bfish: Unknown command: curl
/build/source/tests/../tools/installer.fish (line 37):
command curl --silent --show-error --location "$package" | command tar -xzf- -C $PURE_INSTALL_DIR --strip-components=1; or begin;
^
in function 'pure_fetch_source'
in command substitution
ok 101 fish_title: contains current directory and previous command
ok 102 fish_title: contains current directory with an *empty* previous command
ok 103 fish_title: contains current path without a previous command
ok 104 fish_version_below: fails on itself
ok 105 fish_version_below: succeed when FISH_VERSION is lower
ok 106 fish_version_below: fails when FISH_VERSION is higher
ok 107 fish_version_at_least: succeed on itself
ok 108 fish_version_at_least: fails when FISH_VERSION is lower
ok 109 fish_version_at_least: succeed when FISH_VERSION is higher
ok 110 migrate all variables
ok 111 installer: pass argument to set
ok 112 installer: set $FISH_CONFIG_DIR to default value
ok 113 installer: pass arguments to set
ok 114 installer: set $PURE_INSTALL_DIR to default value
ok 115 installer: pure_scaffold_fish_directories /build/tmp.cIu3PmNYv7/.config/fish/{functions,conf.d}
ok 116 installer: pure_fetch_source create install directory /build/tmp.cIu3PmNYv7/.config/fish/functions/theme-pure
ok 117 installer: pure_fetch_source extract source correctly
ok 118 installer: backup existing theme prompt
ok 119 installer: inject autoloading in config
ok 120 installer: activate prompt
ok 121 installer: app path to theme's functions
ok 122 installer: load theme file
warning: You appear to have cloned an empty repository.
ok 123 _pure_prompt_git_pending_commits: print nothing when no upstream repo
ok 124 _pure_prompt_git_pending_commits: show arrow UP when branch is AHEAD of upstream (need git push)
ok 125 _pure_prompt_git_pending_commits: show arrow DOWN when branch is BEHIND upstream (need git pull)
ok 126 _pure_prompt_git_pending_commits: empty repo don't throw error
ok 127 configure: pure_version
ok 128 configure: pure_symbol_prompt
ok 129 configure: pure_symbol_reverse_prompt
ok 130 configure: pure_reverse_prompt_symbol_in_vimode
ok 131 configure: pure_enable_git
ok 132 configure: pure_symbol_git_unpulled_commits
ok 133 configure: pure_symbol_git_unpushed_commits
ok 134 configure: pure_symbol_git_dirty
ok 135 configure: pure_symbol_git_stash
ok 136 configure: pure_symbol_title_bar_separator
ok 137 35 configure: pure_color_primary
ok 138 36 _pure_prompt: print prompt after failing command
ok 139 37 _pure_prompt: print root prefix
ok 140 configure: pure_color_success
ok 141 configure: pure_color_normal
ok 142 configure: pure_color_danger
ok 143 configure: pure_color_light
ok 144 configure: pure_color_warning
ok 145 configure: pure_color_command_duration
ok 146 configure: pure_color_current_directory
ok 147 configure: pure_color_git_unpushed_commits
ok 148 configure: pure_color_git_unpulled_commits
ok 149 configure: pure_color_git_branch
ok 150 configure: pure_color_git_dirty
ok 151 configure: pure_color_git_stash
ok 152 configure: pure_color_ssh_hostname
ok 153 configure: pure_color_ssh_separator
ok 154 configure: pure_color_ssh_user_normal
ok 155 configure: pure_color_ssh_user_root
ok 156 configure: pure_color_prompt_on_error
ok 157 configure: pure_color_prompt_on_success
ok 158 configure: pure_show_jobs
ok 159 configure: pure_color_jobs
ok 160 configure: pure_show_system_time
ok 161 configure: pure_color_system_time
ok 162 configure: pure_color_virtualenv
ok 163 configure: pure_begin_prompt_with_current_directory
ok 164 configure: pure_separate_prompt_on_error
ok 165 configure: pure_threshold_command_duration
ok 166 configure: pure_show_subsecond_command_duration
ok 167 configure: pure_color_command_duration
ok 168 configure: pure_check_for_new_release
ok 169 configure: pure_show_prefix_root_prompt
ok 170 configure: pure_symbol_prefix_root_prompt
ok 171 configure: pure_color_prefix_root_prompt
1..171
# pass 171
# ok
@nix { "action": "setPhase", "phase": "installPhase" }
installing
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/p671ccfiydd3fnx62iq71bbpnkkkk5sh-fishplugin-pure-3.4.2
strip is /nix/store/rqfgki7ck1bxqhk3hd7wziqhahjadfbj-binutils-2.35.1/bin/strip
patching script interpreter paths in /nix/store/p671ccfiydd3fnx62iq71bbpnkkkk5sh-fishplugin-pure-3.4.2
checking for references to /build/ in /nix/store/p671ccfiydd3fnx62iq71bbpnkkkk5sh-fishplugin-pure-3.4.2...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment