corkscrew: fix darwin build

corkscrew ships outdated versions of config.{sub,guess}. Point to
automake version instead.
This commit is contained in:
Yann Hodique 2015-12-13 14:31:00 -08:00
parent f0cdf17ee8
commit 9a40af11c3

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, automake }:
stdenv.mkDerivation rec {
name = "corkscrew-2.0";
@ -8,6 +8,11 @@ stdenv.mkDerivation rec {
sha256 = "0d0fcbb41cba4a81c4ab494459472086f377f9edb78a2e2238ed19b58956b0be";
};
preConfigure = ''
ln -sf ${automake}/share/automake-*/config.sub config.sub
ln -sf ${automake}/share/automake-*/config.guess config.guess
'';
meta = with stdenv.lib; {
homepage = http://agroman.net/corkscrew/;
description = "A tool for tunneling SSH through HTTP proxies";