cjdns: fix build with glibc-2.25 via upstream patch
This commit is contained in:
parent
e688bbbee4
commit
3d04d470cd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user