-
Notifications
You must be signed in to change notification settings - Fork 2
/
flake.nix
41 lines (37 loc) · 1.08 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
{ description = "Development environment for renku-graph";
# Install direnv and run `direnv allow` to automatically drop into
# this environment when entering the directory in your shell.
# Alternatively, run `nix develop` to drop into a bash shell.
#
# Look for packages here:
# https://search.nixos.org/packages?channel=22.11
inputs = {
nixpkgs.url = "nixpkgs/nixos-22.11";
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils, ... }:
utils.lib.eachDefaultSystem (system:
let
overlays = import ./nix/overlays.nix;
pkgs = import nixpkgs {
inherit system;
overlays = [
overlays.jena
overlays.sbt
overlays.postgres-fg
];
};
in
{ devShell = pkgs.mkShell {
buildInputs = with pkgs;
[ postgresql_12
postgres-fg
apache-jena-fuseki
openjdk17
sbt
];
JAVA_HOME = "${pkgs.openjdk17}/lib/openjdk";
};
}
);
}