Skip to content

Commit 5f0a7cd

Browse files
committedSep 23, 2017
nox: Add a temporary patch for the "wip" command
See #29684.
1 parent 21cadbb commit 5f0a7cd

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
 

‎pkgs/tools/package-management/nox/default.nix

+2
Original file line numberDiff line numberDiff line change
@@ -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; [
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)
Please sign in to comment.