forked from gemini-hlsw/observe
-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
75 lines (73 loc) · 3.82 KB
/
flake.nix
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
inputs = {
typelevel-nix.url = "github:typelevel/typelevel-nix";
nixpkgs.follows = "typelevel-nix/nixpkgs";
flake-utils.follows = "typelevel-nix/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, typelevel-nix }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs-x86_64 = import nixpkgs {
system = "x86_64-darwin";
};
scala-cli-overlay = final: prev: {
scala-cli = pkgs-x86_64.scala-cli;
};
pkgs = import nixpkgs {
inherit system;
overlays = [ typelevel-nix.overlays.default scala-cli-overlay];
};
in
{
devShell = pkgs.devshell.mkShell {
imports = [ typelevel-nix.typelevelShell ];
packages = [
pkgs.nodePackages.vscode-langservers-extracted
pkgs.nodePackages.prettier
pkgs.websocat
];
typelevelShell = {
nodejs.enable = true;
jdk.package = pkgs.jdk17;
};
env = [
{
"name" = "ODB_SERVICE_JWT";
"value" = "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzUxMiJ9.eyJpc3MiOiJsdWN1bWEtc3NvIiwic3ViIjoiMjAxMiIsImF1ZCI6Imx1Y3VtYSIsImV4cCI6MjMyNjQ0OTkwNCwibmJmIjoxNjk1NzI5ODk0LCJpYXQiOjE2OTU3Mjk4OTQsCiAgImx1Y3VtYS11c2VyIiA6IHsKICAgICJ0eXBlIiA6ICJzZXJ2aWNlIiwKICAgICJpZCIgOiAidS03ZGMiLAogICAgIm5hbWUiIDogIm9ic2VydmUiCiAgfQp9.VAEkJCo9_oZdoJi8G6nUBr0Lupi8BXnkT1buKG7sNRIxk2nuQqE_641vZp1-ho8Eq8vbw7arQ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