ErlangR24: init at 24.0
Update configure options The configure script now needs to be told about the headers and the actual lib files separately. Remove extra whitespace
This commit is contained in:
committed by
Jonathan Ringer
parent
39167dd014
commit
7500267ed9
8
pkgs/development/interpreters/erlang/R24.nix
Normal file
8
pkgs/development/interpreters/erlang/R24.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ mkDerivation }:
|
||||
|
||||
# How to obtain `sha256`:
|
||||
# nix-prefetch-url --unpack https://github.com/erlang/otp/archive/OTP-${version}.tar.gz
|
||||
mkDerivation {
|
||||
version = "24.0";
|
||||
sha256 = "0p4p920ncsvls9q3czdc7wz2p7m15bi3nr4306hqddnxz1kxcm4w";
|
||||
}
|
||||
@@ -76,7 +76,8 @@ in stdenv.mkDerivation ({
|
||||
./otp_build autoconf
|
||||
'';
|
||||
|
||||
configureFlags = [ "--with-ssl=${lib.getDev opensslPackage}" ]
|
||||
configureFlags = [ "--with-ssl=${lib.getOutput "out" opensslPackage}" ]
|
||||
++ [ "--with-ssl-incl=${lib.getDev opensslPackage}" ] # This flag was introduced in R24
|
||||
++ optional enableThreads "--enable-threads"
|
||||
++ optional enableSmpSupport "--enable-smp-support"
|
||||
++ optional enableKernelPoll "--enable-kernel-poll"
|
||||
|
||||
Reference in New Issue
Block a user