-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathflake.nix
More file actions
23 lines (22 loc) · 741 Bytes
/
Copy pathflake.nix
File metadata and controls
23 lines (22 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
description = "Tenant Security Client Java";
inputs.nixpkgs.url = "nixpkgs/nixos-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in {
devShell = with pkgs; mkShell {
buildInputs = [
maven
openjdk17
];
# Nix sets SOURCE_DATE_EPOCH to 1980-01-01T00:00:00Z (315532800) for
# reproducible builds, but maven-javadoc-plugin requires at least
# 1980-01-01T00:00:02Z. Bump by 2 seconds to satisfy the validation.
SOURCE_DATE_EPOCH = 315532802;
};
}
);
}