nixpkgs/pkgs/development/interpreters/erlang/R18.nix
Gleb Peregud 3426c88bff erlang: Generalize Erlang/OTP derivations.
Switch official Erlang versions to use a common builder.
2017-06-08 11:29:47 +02:00

22 lines
610 B
Nix

{ mkDerivation, fetchurl }:
let
rmAndPwdPatch = fetchurl {
url = "https://github.com/erlang/otp/commit/98b8650d22e94a5ff839170833f691294f6276d0.patch";
sha256 = "0cd5pkqrigiqz6cyma5irqwzn0bi17k371k9vlg8ir31h3zmqfip";
};
envAndCpPatch = fetchurl {
url = "https://github.com/erlang/otp/commit/9f9841eb7327c9fe73e84e197fd2965a97b639cf.patch";
sha256 = "10h5348p6g279b4q01i5jdqlljww5chcvrx5b4b0dv79pk0p0m9f";
};
in mkDerivation rec {
version = "18.3.4.4";
sha256 = "0wilm21yi9m3v6j26vc04hsa58cxca5z4q9yxx71hm81cbm1xbwk";
patches = [
rmAndPwdPatch
envAndCpPatch
];
}