mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 22:03:13 +00:00
dd184fa88d
svn path=/nixpkgs/branches/stdenv-updates/; revision=10537
13 lines
375 B
Nix
13 lines
375 B
Nix
args: with args;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "erlang-" + version;
|
|
src = fetchurl {
|
|
url = http://www.erlang.org/download/otp_src_R11B-5.tar.gz;
|
|
md5 = "96acec41da87d6ee0ef18e1aab36ffdd";
|
|
};
|
|
buildInputs = [perl gnum4 ncurses openssl];
|
|
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
|
|
configureFlags = "--with-ssl=${openssl}";
|
|
}
|