Skip to content

Instantly share code, notes, and snippets.

@kimat
Created August 21, 2024 08:38
Show Gist options
  • Save kimat/24a9aeba1a4af53a86886e3ccdb8acd9 to your computer and use it in GitHub Desktop.
Save kimat/24a9aeba1a4af53a86886e3ccdb8acd9 to your computer and use it in GitHub Desktop.
nixpkgs-review pr 215167
nixpkgs-review pr 215167
$ git -c fetch.prune=false fetch --no-tags --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0 pull/215167/head:refs/nixpkgs-review/1
remote: Enumerating objects: 41, done.
remote: Counting objects: 100% (41/41), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 41 (delta 24), reused 35 (delta 24), pack-reused 0 (from 0)
Unpacking objects: 100% (41/41), 296.73 KiB | 3.37 MiB/s, done.
From https://github.com/NixOS/nixpkgs
* [new branch] master -> refs/nixpkgs-review/0
* [new ref] refs/pull/215167/head -> refs/nixpkgs-review/1
$ git worktree add /home/j/.cache/nixpkgs-review/pr-215167/nixpkgs 0d251dcb9021159a60b440ba62d9285c1b533e18
Preparing worktree (detached HEAD 0d251dcb9021)
Updating files: 100% (42861/42861), done.
HEAD is now at 0d251dcb9021 vimPlugins.luvit-meta: init at 2024-01-20
$ git merge --no-commit --no-ff 60dad75a8d81e58c866083498da5f3ed516fc21e
Automatic merge went well; stopped before committing as requested
$ nix build --file /nix/store/ww9sz3m14wsh484vchhgws9vhg2mlfcx-nixpkgs-review-2.10.4/lib/python3.11/site-packages/nixpkgs_review/nix/review-shell.nix --nix-path nixpkgs=/home/j/.cache/nixpkgs-review/pr-215167/nixpkgs nixpkgs-overlays=/tmp/tmptzfv98r8 --extra-experimental-features nix-command no-url-literals --no-link --keep-going --no-allow-import-from-derivation --option build-use-sandbox relaxed --argstr system x86_64-linux --argstr nixpkgs-path /home/j/.cache/nixpkgs-review/pr-215167/nixpkgs --argstr nixpkgs-config-path /tmp/tmp429xgog8.nix --argstr attrs-path /home/j/.cache/nixpkgs-review/pr-215167/attrs.nix
Link to currently reviewing PR:
https://github.com/NixOS/nixpkgs/pull/215167
21 packages built:
rubocop rubyPackages.lint_roller rubyPackages.rubocop-performance solargraph rubyPackages.standard rubyPackages.standard-custom rubyPackages.standard-performance rubyPackages_3_2.lint_roller rubyPackages_3_2.rubocop rubyPackages_3_2.rubocop-performance rubyPackages_3_2.solargraph rubyPackages_3_2.standard rubyPackages_3_2.standard-custom rubyPackages_3_2.standard-performance rubyPackages_3_3.lint_roller rubyPackages_3_3.rubocop rubyPackages_3_3.rubocop-performance rubyPackages_3_3.solargraph rubyPackages_3_3.standard rubyPackages_3_3.standard-custom rubyPackages_3_3.standard-performance
$ /nix/store/wxp968584yl2ygfm3kwhl712wc2y6r5k-nix-2.18.5/bin/nix-shell --argstr system x86_64-linux --argstr nixpkgs-path /home/j/.cache/nixpkgs-review/pr-215167/nixpkgs --argstr nixpkgs-config-path /tmp/tmp429xgog8.nix --argstr attrs-path /home/j/.cache/nixpkgs-review/pr-215167/attrs.nix --nix-path nixpkgs=/home/j/.cache/nixpkgs-review/pr-215167/nixpkgs nixpkgs-overlays=/tmp/tmptzfv98r8 /nix/store/ww9sz3m14wsh484vchhgws9vhg2mlfcx-nixpkgs-review-2.10.4/lib/python3.11/site-packages/nixpkgs_review/nix/review-shell.nix
this path will be fetched (1.09 MiB download, 6.89 MiB unpacked):
/nix/store/m001fhkgdgxf1cd46j176bqy51swk51c-bash-interactive-5.2p32
copying path '/nix/store/m001fhkgdgxf1cd46j176bqy51swk51c-bash-interactive-5.2p32' from 'https://cache.nixos.org'...
[nix-shell:~/.cache/nixpkgs-review/pr-215167]$ results/rubyPackages_3_2.standard/bin/standardrb --help
Ignoring json-2.7.1 because its extensions are not built. Try: gem pristine json --version 2.7.1
Ignoring json-2.7.1 because its extensions are not built. Try: gem pristine json --version 2.7.1
Ignoring racc-1.7.3 because its extensions are not built. Try: gem pristine racc --version 1.7.3
Ignoring racc-1.7.3 because its extensions are not built. Try: gem pristine racc --version 1.7.3
Usage: standardrb [--fix] [--lsp] [-vh] [--format <name>] [--] [FILE]...
Options:
--fix Apply automatic fixes that we're confident won't break your code
--fix-unsafely Apply even more fixes, including some that may change code behavior
--no-fix Do not automatically fix failures
--format <name> Format output with any RuboCop formatter (e.g. "json")
--generate-todo Create a .standard_todo.yml that lists all the files that contain errors
--lsp Start a LSP server listening on STDIN
-v, --version Print the version of Standard
-V, --verbose-version Print the version of Standard and its dependencies.
-h, --help Print this message
FILE Files to lint [default: ./]
Standard also forwards most CLI arguments to RuboCop. To see them, run:
$ rubocop --help
While Standard only offers a few configuration options, most can be set in
a `.standard.yml` file. For full documentation, please visit:
https://github.com/standardrb/standard
Having trouble? Here's some diagnostic information:
Ruby version: 3.2.4
Current directory: /home/j/.cache/nixpkgs-review/pr-215167
RuboCop version: 1.65.1
Standard version: 1.40.0
Standard config file: [No file found]
Please report any problems (and include the above information) at the URL below:
https://github.com/standardrb/standard/issues/new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment