[Nix-dev] patch: eclipse version 4.6

Bjørn Forsman bjorn.forsman at gmail.com
Sun Jul 3 20:07:17 CEST 2016


On 3 July 2016 at 18:18, Azul <mail at azulinho.com> wrote:
> so what do you guys use as a quality gate then?
> how do you make sure a patch won't break master? are you just testing it
> locally on your machines?

Yep. Personally I run:

    nox-review wip --against origin/master
    nix-check-before-push.sh

where "nix-check-before-push.sh" is

    #!/bin/sh
    # This checks for evaluation errors in nixpkgs git.
    # Run it before commit/push.
    set -x
    nix-env -f . -qa \* --meta --xml --drv-path --show-trace
>/dev/null || { echo FAILED; exit 1; }
    nix-build pkgs/top-level/release.nix -A tarball || { echo FAILED; exit 1; }

- Bjørn


More information about the nix-dev mailing list