nox: Add a temporary patch for the "wip" command

See #29684.
This commit is contained in:
Michael Weiss 2017-09-23 04:23:23 +02:00
parent 21cadbb8f4
commit 5f0a7cded7
2 changed files with 13 additions and 0 deletions

View File

@ -10,6 +10,8 @@ pythonPackages.buildPythonApplication rec {
sha256 = "1qcbhdnhdhhv7q6cqdgv0q55ic8fk18526zn2yb12x9r1s0lfp9z";
};
patches = [ ./nox-review-wip.patch ];
buildInputs = [ pythonPackages.pbr git ];
propagatedBuildInputs = with pythonPackages; [

View File

@ -0,0 +1,11 @@
--- a/nox/review.py 2017-09-23 04:04:37.322484753 +0200
+++ a/nox/review.py 2017-09-23 04:18:31.582692181 +0200
@@ -84,7 +84,7 @@
ctx.obj['dry_run'] = dry_run
-@cli.command(short_help='difference between working tree and a commit')
+@cli.command('wip', short_help='difference between working tree and a commit')
@click.option('--against', default='HEAD')
@click.pass_context
@setup_nixpkgs_config