diff options
author | Peter Simons <simons@cryp.to> | 2017-06-14 21:28:28 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2017-06-14 21:28:28 +0200 |
commit | f59104bc736cd47d98814da073db772298ae32d9 (patch) | |
tree | 4bd7d7fc6fb1dd116bd25cf764a9120b72751037 /pkgs/applications/version-management/vcsh | |
parent | fcf205024a642902648d80444a4df5a31b455bf5 (diff) |
vcsh: patch broken parser for $GIT_VERSION_MINOR
Diffstat (limited to 'pkgs/applications/version-management/vcsh')
-rw-r--r-- | pkgs/applications/version-management/vcsh/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/vcsh/default.nix b/pkgs/applications/version-management/vcsh/default.nix index 038e72e83a078..e15bc489beb7e 100644 --- a/pkgs/applications/version-management/vcsh/default.nix +++ b/pkgs/applications/version-management/vcsh/default.nix @@ -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"; |