Skip to content

Commit

Permalink
nox: Add a temporary patch for the "wip" command
Browse files Browse the repository at this point in the history
See #29684.

(cherry picked from commit 5f0a7cd)
  • Loading branch information
primeos authored and lsix committed Oct 2, 2017
1 parent 7c8226d commit b61d084
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/tools/package-management/nox/default.nix
Expand Up @@ -10,6 +10,8 @@ pythonPackages.buildPythonApplication rec {
sha256 = "1qcbhdnhdhhv7q6cqdgv0q55ic8fk18526zn2yb12x9r1s0lfp9z";
};

patches = [ ./nox-review-wip.patch ];

buildInputs = [ pythonPackages.pbr git ];

propagatedBuildInputs = with pythonPackages; [
Expand Down
11 changes: 11 additions & 0 deletions pkgs/tools/package-management/nox/nox-review-wip.patch
@@ -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

0 comments on commit b61d084

Please sign in to comment.