Skip to content

Can nix-bisect be used to find evaluation errors? #14

@das-g

Description

@das-g

Can nix-bisect be used to find the commit that introduced a specific evaluation error (as opposed to a build error)? If so, how?

E.g., on NixOS/nixpkgs@e0759a4, python2.pkgs.moto fails to evaluate with bcrypt-3.2.0 not supported for interpreter python2.7. Can I use nix-bisect to find the commit since when that's the case? If so, how? Would the call be

extra-bisect start e0759a49733dfc3aa225b8a7423c00da6e1ecb67 e0759a49733dfc3aa225b8a7423c00da6e1ecb67~5000
extra-bisect run \
	nix-build-status \
	--max-rebuild 100 \
	--failure-line 'bcrypt-3.2.0 not supported for interpreter python2.7' \
	python2.pkgs.moto

(assuming python2.pkgs.moto does evaluate and build for e0759a49733dfc3aa225b8a7423c00da6e1ecb67~5000, which it does) or would that look for a build error with that output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions