git.iko.soy/typeable/nixpkgs
on master help sign in
nox: Add a temporary patch for the "wip" command

See #29684.

commit5f0a7cded718d0092229ba078cb7f0f7733bf636 authorMichael Weiss <dev.primeos@gmail.com> dateSat 23 Sep 2017, 04:23 (9 years ago) parent21cadbb
2 files changed+13
pkgs/tools/package-management/nox/default.nix+2 pkgs/tools/package-management/nox/nox-review-wip.patch+11
pkgs/tools/package-management/nox/default.nix+2
@@ -10,6 +10,8 @@ pythonPackages.buildPythonApplication rec {
1010 sha256 = "1qcbhdnhdhhv7q6cqdgv0q55ic8fk18526zn2yb12x9r1s0lfp9z";
1111 };
1212
13+ patches = [ ./nox-review-wip.patch ];
14+
1315 buildInputs = [ pythonPackages.pbr git ];
1416
1517 propagatedBuildInputs = with pythonPackages; [
pkgs/tools/package-management/nox/nox-review-wip.patchnew file+11
@@ -0,0 +1,11 @@
1+--- a/nox/review.py 2017-09-23 04:04:37.322484753 +0200
2++++ a/nox/review.py 2017-09-23 04:18:31.582692181 +0200
3+@@ -84,7 +84,7 @@
4+ ctx.obj['dry_run'] = dry_run
5+
6+
7+-@cli.command(short_help='difference between working tree and a commit')
8++@cli.command('wip', short_help='difference between working tree and a commit')
9+ @click.option('--against', default='HEAD')
10+ @click.pass_context
11+ @setup_nixpkgs_config