mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
dd184fa88d
svn path=/nixpkgs/branches/stdenv-updates/; revision=10537
12 lines
409 B
Nix
12 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}";
|
|
}
|