libcli: Fix build on gcc 5

http://hydra.nixos.org/build/32606953
This commit is contained in:
Eelco Dolstra 2016-03-02 17:34:14 +01:00
parent a5b501a36e
commit 6bec7cb9fc

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ stdenv, fetchFromGitHub, fetchurl }:
stdenv.mkDerivation rec {
name = "libcli-${version}";
@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
owner = "dparrish";
};
patches =
[ (fetchurl {
url = "https://github.com/dparrish/libcli/commit/ebc5a09db457ee1be9996711463cbbafe5ea72d5.patch";
sha256 = "0szjiw3gd7by1sv924shnngfxvc98xvaqvx228b575xq93xxjcwl";
})
];
enableParallelBuilding = true;
makeFlags = [ "PREFIX=$(out)" ];