From f59104bc736cd47d98814da073db772298ae32d9 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 14 Jun 2017 21:28:28 +0200 Subject: [PATCH] vcsh: patch broken parser for $GIT_VERSION_MINOR --- pkgs/applications/version-management/vcsh/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/vcsh/default.nix b/pkgs/applications/version-management/vcsh/default.nix index 038e72e83a07..e15bc489beb7 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";