Skip to content

Instantly share code, notes, and snippets.

@lukego
Created June 5, 2022 16:21
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 lukego/91ba66c76dd7e4e04706d0e66a39a070 to your computer and use it in GitHub Desktop.
Save lukego/91ba66c76dd7e4e04706d0e66a39a070 to your computer and use it in GitHub Desktop.
[luke@snowy:~/git/nixpkgs-lisp]$ nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
this path will be fetched (0.03 MiB download, 0.13 MiB unpacked):
/nix/store/q96f9vhis0xk06giw304f9r7hjasxrkw-nixpkgs-review-2.6.4
copying path '/nix/store/q96f9vhis0xk06giw304f9r7hjasxrkw-nixpkgs-review-2.6.4' from 'https://cache.nixos.org'...
$ git -c fetch.prune=false fetch --no-tags --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0
remote: Enumerating objects: 2926, done.
remote: Counting objects: 100% (1511/1511), done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 2926 (delta 1471), reused 1495 (delta 1462), pack-reused 1415
Receiving objects: 100% (2926/2926), 10.42 MiB | 3.12 MiB/s, done.
Resolving deltas: 100% (1825/1825), completed with 543 local objects.
From https://github.com/NixOS/nixpkgs
* [new branch] master -> refs/nixpkgs-review/0
$ git worktree add /home/luke/.cache/nixpkgs-review/rev-04785e249215231df76ee815e330d619feda6beb/nixpkgs ec6dd63f838dc264d69409a0193d1127feeaefd1
Preparing worktree (detached HEAD ec6dd63f838)
Updating files: 100% (30714/30714), done.
HEAD is now at ec6dd63f838 Merge pull request #172935 from veprbl/pr/rivet_3_1_6
$ nix-env --option system x86_64-linux -f /home/luke/.cache/nixpkgs-review/rev-04785e249215231df76ee815e330d619feda6beb/nixpkgs -qaP --xml --out-path --show-trace
$ git merge --no-commit --no-ff 04785e249215231df76ee815e330d619feda6beb
Automatic merge went well; stopped before committing as requested
$ nix-env --option system x86_64-linux -f /home/luke/.cache/nixpkgs-review/rev-04785e249215231df76ee815e330d619feda6beb/nixpkgs -qaP --xml --out-path --show-trace --meta
error: infinite recursion encountered
at /home/luke/.cache/nixpkgs-review/rev-04785e249215231df76ee815e330d619feda6beb/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:329:7:
328| depsHostHostPropagated = lib.elemAt (lib.elemAt propagatedDependencies 1) 0;
329| propagatedBuildInputs = lib.elemAt (lib.elemAt propagatedDependencies 1) 1;
| ^
330| depsTargetTargetPropagated = lib.elemAt (lib.elemAt propagatedDependencies 2) 0;
… while evaluating the attribute 'propagatedBuildInputs' of the derivation 'lisp-mgl-pax-20220220-git'
at /home/luke/.cache/nixpkgs-review/rev-04785e249215231df76ee815e330d619feda6beb/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while evaluating the attribute 'propagatedBuildInputs' of the derivation 'lisp-try-20220220-git'
at /home/luke/.cache/nixpkgs-review/rev-04785e249215231df76ee815e330d619feda6beb/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while evaluating the attribute 'propagatedBuildInputs' of the derivation 'lisp-named-readtables-20220220-git'
at /home/luke/.cache/nixpkgs-review/rev-04785e249215231df76ee815e330d619feda6beb/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while evaluating the attribute 'propagatedBuildInputs' of the derivation 'lisp-cl-interpol-20201220-git'
at /home/luke/.cache/nixpkgs-review/rev-04785e249215231df76ee815e330d619feda6beb/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while evaluating the attribute 'propagatedBuildInputs' of the derivation 'lisp-access-20210124-git'
at /home/luke/.cache/nixpkgs-review/rev-04785e249215231df76ee815e330d619feda6beb/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:278:7:
277| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
278| name =
| ^
279| let
… while querying the derivation named 'lisp-access-20210124-git'
$ git worktree prune
Traceback (most recent call last):
File "/nix/store/q96f9vhis0xk06giw304f9r7hjasxrkw-nixpkgs-review-2.6.4/bin/.nixpkgs-review-wrapped", line 9, in <module>
sys.exit(main())
File "/nix/store/q96f9vhis0xk06giw304f9r7hjasxrkw-nixpkgs-review-2.6.4/lib/python3.9/site-packages/nixpkgs_review/__init__.py", line 10, in main
cli.main(command, args)
File "/nix/store/q96f9vhis0xk06giw304f9r7hjasxrkw-nixpkgs-review-2.6.4/lib/python3.9/site-packages/nixpkgs_review/cli/__init__.py", line 280, in main
return cast(str, args.func(args))
File "/nix/store/q96f9vhis0xk06giw304f9r7hjasxrkw-nixpkgs-review-2.6.4/lib/python3.9/site-packages/nixpkgs_review/cli/rev.py", line 12, in rev_command
return review_local_revision(f"rev-{commit}", args, commit)
File "/nix/store/q96f9vhis0xk06giw304f9r7hjasxrkw-nixpkgs-review-2.6.4/lib/python3.9/site-packages/nixpkgs_review/review.py", line 470, in review_local_revision
review.review_commit(builddir.path, args.branch, commit, staged)
File "/nix/store/q96f9vhis0xk06giw304f9r7hjasxrkw-nixpkgs-review-2.6.4/lib/python3.9/site-packages/nixpkgs_review/review.py", line 246, in review_commit
self.start_review(self.build_commit(branch_rev, reviewed_commit, staged), path)
File "/nix/store/q96f9vhis0xk06giw304f9r7hjasxrkw-nixpkgs-review-2.6.4/lib/python3.9/site-packages/nixpkgs_review/review.py", line 150, in build_commit
merged_packages = list_packages(
File "/nix/store/q96f9vhis0xk06giw304f9r7hjasxrkw-nixpkgs-review-2.6.4/lib/python3.9/site-packages/nixpkgs_review/review.py", line 313, in list_packages
subprocess.run(cmd, stdout=tmp, check=True)
File "/nix/store/01kia41csjia67pry1rv828i9pvnnqfq-python3-3.9.12/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['nix-env', '--option', 'system', 'x86_64-linux', '-f', '/home/luke/.cache/nixpkgs-review/rev-04785e249215231df76ee815e330d619feda6beb/nixpkgs', '-qaP', '--xml', '--out-path', '--show-trace', '--meta']' returned non-zero exit status 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment