diff options
author | Peter Simons <simons@cryp.to> | 2018-11-02 11:46:37 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2018-11-02 17:50:18 +0100 |
commit | 9b63cc63131176cf232d8677ba56b4e57563982c (patch) | |
tree | a7d1018ac4fcf3821876b8bd402ff40da17760e3 /pkgs/development/r-modules | |
parent | cac5c9401e7d17db94bf5c0b6e0df9e38e497cc8 (diff) |
r-rlang: patch shebang in configure script to fix the build
Diffstat (limited to 'pkgs/development/r-modules')
-rw-r--r-- | pkgs/development/r-modules/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 066ad48d95393..56c707c6fa76a 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -942,6 +942,11 @@ let PKGCONFIG_CFLAGS = "-I${pkgs.openssl.dev}/include -I${pkgs.cyrus_sasl.dev}/include -I${pkgs.zlib.dev}/include"; PKGCONFIG_LIBS = "-Wl,-rpath,${pkgs.openssl.out}/lib -L${pkgs.openssl.out}/lib -L${pkgs.cyrus_sasl.out}/lib -L${pkgs.zlib.out}/lib -lssl -lcrypto -lsasl2 -lz"; }); + + rlang = old.rlang.overrideDerivation (attrs: { + preConfigure = "patchShebangs configure"; + }); + }; in self |