mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
dd184fa88d
svn path=/nixpkgs/branches/stdenv-updates/; revision=10537
13 lines
409 B
Nix
13 lines
409 B
Nix
args: with args;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "erlang-" + version;
|
|
src = fetchurl {
|
|
url = "http://www.erlang.org/download/otp_src_" + version + ".tar.gz";
|
|
sha256 = "16w7snhbjzwiywppsp04yiy2bkncff8pf4i643kqzkqx578jhaqz";
|
|
};
|
|
buildInputs = [perl gnum4 ncurses openssl];
|
|
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
|
|
configureFlags = "--with-ssl=${openssl}";
|
|
}
|