From 350d358dea6101b626d6482c6b767edf3af72b93 Mon Sep 17 00:00:00 2001 From: Mitsuhiro Nakamura Date: Thu, 5 Dec 2019 13:00:19 +0900 Subject: [PATCH] rPackages.websocket: fix build --- pkgs/development/r-modules/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index cd78084d60be..7b2fa8b04347 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -853,6 +853,11 @@ let PKGCONFIG_LIBS = "-Wl,-rpath,${pkgs.openssl.out}/lib -L${pkgs.openssl.out}/lib -lssl -lcrypto"; }); + websocket = old.websocket.overrideDerivation (attrs: { + PKGCONFIG_CFLAGS = "-I${pkgs.openssl.dev}/include"; + PKGCONFIG_LIBS = "-Wl,-rpath,${pkgs.openssl.out}/lib -L${pkgs.openssl.out}/lib -lssl -lcrypto"; + }); + Rserve = old.Rserve.overrideDerivation (attrs: { patches = [ ./patches/Rserve.patch ]; configureFlags = [