~raboof/nix-shells

ref: 5280a9c72a4a85af297a11d1f44a5be64d77d53c nix-shells/github.com/akka/akka-http/shell.nix -rw-r--r-- 313 bytes
5280a9c7 — Arnout Engelen commit some shells collected over time 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ pkgs ? import <nixpkgs> {} }:

pkgs.mkShell {
  buildInputs = [
    (pkgs.sbt.override {
      jre = pkgs.adoptopenjdk-hotspot-bin-8;
    })
    pkgs.git
    pkgs.adoptopenjdk-hotspot-bin-8
    pkgs.graphviz
  ];

  shellHook = ''
    export SOURCE_DATE_EPOCH=`${pkgs.git}/bin/git log -1 --pretty=%ct`
  '';

}