cjdns: fix build with glibc-2.25 via upstream patch

This commit is contained in:
Vladimír Čunát 2017-02-21 13:30:50 +01:00
parent e688bbbee4
commit 3d04d470cd
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, nodejs, which, python27, utillinux }:
{ stdenv, fetchurl, fetchpatch, nodejs, which, python27, utillinux }:
let version = "18"; in
stdenv.mkDerivation {
@ -9,6 +9,12 @@ stdenv.mkDerivation {
sha256 = "1as7n730ppn93cpal7s6r6iq1qx46m0c45iwy8baypbpp42zxrap";
};
patches = [(fetchpatch {
name = "glibc-2.25.diff";
url = https://github.com/cjdelisle/cjdns/pull/1017.diff;
sha256 = "1k05d1w04lngcki56b6brkwg9xakzsbr5ibkcba8112v6jdzw51f";
})];
buildInputs = [ which python27 nodejs ] ++
# for flock
stdenv.lib.optional stdenv.isLinux utillinux;