~raboof/nix-shells

ref: 73cf54ec4fc63002e06f76206d371fe927089e10 nix-shells/github.com/akka/akka/shell-release-2.5.nix -rw-r--r-- 487 bytes
73cf54ec — Arnout Engelen nix-shell for the akka release-2.5 branch 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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