Skip to content

Commit

Permalink
vcsh: patch broken parser for $GIT_VERSION_MINOR
Browse files Browse the repository at this point in the history
  • Loading branch information
peti committed Jun 14, 2017
1 parent fcf2050 commit f59104b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/applications/version-management/vcsh/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, which, git, ronn, perl, ShellCommand, TestMost }:
{ stdenv, fetchpatch, fetchFromGitHub, which, git, ronn, perl, ShellCommand, TestMost }:

stdenv.mkDerivation rec {
version = "1.20170226"; # date of commit we're pulling
Expand All @@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
sha256 = "16lb28m4k7n796cc1kifyc1ixry4bg69q9wqivjzygdsb77awgln";
};

patches =
[ (fetchpatch { url = "https://patch-diff.githubusercontent.com/raw/RichiH/vcsh/pull/222.patch";
sha256 = "0grdbiwq04x5qj0a1yd9a78g5v28dxhwl6mwxvgvvmzs6k5wnl3k";
})
];

buildInputs = [ which git ronn perl ShellCommand TestMost ];

installPhase = "make install PREFIX=$out";
Expand Down

0 comments on commit f59104b

Please sign in to comment.