diff --git a/pkgs/tools/networking/cjdns/default.nix b/pkgs/tools/networking/cjdns/default.nix index 1c91235652a..3000aacafa3 100644 --- a/pkgs/tools/networking/cjdns/default.nix +++ b/pkgs/tools/networking/cjdns/default.nix @@ -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;