forked from typelevel/fs2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
30 lines (28 loc) · 727 Bytes
/
shell.nix
File metadata and controls
30 lines (28 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
let
# Override the java version of sbt package
config = {
packageOverrides = pkgs: rec {
sbt = pkgs.sbt.overrideAttrs (
old: rec {
version = "1.3.12";
patchPhase = ''
echo -java-home ${pkgs.openjdk11} >> conf/sbtopts
'';
}
);
};
};
nixpkgs = fetchTarball {
name = "NixOS-unstable-08-06-2020";
url = "https://github.com/NixOS/nixpkgs-channels/archive/dcb64ea42e6.tar.gz";
sha256 = "0i77sgs0gic6pwbkvk9lbpfshgizdrqyh18law2ji1409azc09w0";
};
pkgs = import nixpkgs { inherit config; };
in
pkgs.mkShell {
buildInputs = with pkgs; [
jekyll # 4.1.0
openjdk11 # 11.0.6-internal
sbt # 1.3.12
];
}