1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

vcsh: patch broken parser for $GIT_VERSION_MINOR

This commit is contained in:
Peter Simons 2017-06-14 21:28:28 +02:00
parent fcf205024a
commit f59104bc73

View file

@ -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
@ -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";