~raboof/nix-shells

73cf54ec4fc63002e06f76206d371fe927089e10 — Arnout Engelen 1 year, 4 days ago aa8c630
nix-shell for the akka release-2.5 branch
1 files changed, 21 insertions(+), 0 deletions(-)

A github.com/akka/akka/shell-release-2.5.nix
A github.com/akka/akka/shell-release-2.5.nix => github.com/akka/akka/shell-release-2.5.nix +21 -0
@@ 0,0 1,21 @@
{ pkgs ? import <nixpkgs> {} }:

(pkgs.buildFHSUserEnv {
  name = "akka-2.5";

  targetPkgs = pkgs: [
    (pkgs.sbt.override {
      jre = pkgs.adoptopenjdk-hotspot-bin-11;
    })
    pkgs.graphviz
    #pkgs.diffoscope
    pkgs.multimarkdown
    pkgs.glibc
  ];

  extraBuildCommands = ''
    mkdir -p $out/usr/lib/jvm
    ln -s ${pkgs.openjdk8.home} $out/usr/lib/jvm/java-8-openjdk
    ln -s ${pkgs.adoptopenjdk-hotspot-bin-11.home} $out/usr/lib/jvm/java-11-adoptopenjdk
    '';
}).env