Skip to content

Commit f59104b

Browse files
committedJun 14, 2017
vcsh: patch broken parser for $GIT_VERSION_MINOR
1 parent fcf2050 commit f59104b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎pkgs/applications/version-management/vcsh/default.nix

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, fetchFromGitHub, which, git, ronn, perl, ShellCommand, TestMost }:
1+
{ stdenv, fetchpatch, fetchFromGitHub, which, git, ronn, perl, ShellCommand, TestMost }:
22

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

14+
patches =
15+
[ (fetchpatch { url = "https://patch-diff.githubusercontent.com/raw/RichiH/vcsh/pull/222.patch";
16+
sha256 = "0grdbiwq04x5qj0a1yd9a78g5v28dxhwl6mwxvgvvmzs6k5wnl3k";
17+
})
18+
];
19+
1420
buildInputs = [ which git ronn perl ShellCommand TestMost ];
1521

1622
installPhase = "make install PREFIX=$out";

0 commit comments

Comments
 (0)
Please sign in to comment.