Skip to content

Commit ca799bc

Browse files
committed
Fix the port and the javadoc building inside a nix devShell
1 parent 9e8b72a commit ca799bc

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

examples/cached-key-example/src/main/java/com/ironcorelabs/cachedkey/CachedKeyExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
public class CachedKeyExample {
1717

18-
private static final String TSP_ADDR = "http://localhost:7777";
18+
private static final String TSP_ADDR = "http://localhost:32804";
1919

2020
public static void main(String[] args) throws Exception {
2121

flake.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
maven
1414
openjdk17
1515
];
16+
# Nix sets SOURCE_DATE_EPOCH to 1980-01-01T00:00:00Z (315532800) for
17+
# reproducible builds, but maven-javadoc-plugin requires at least
18+
# 1980-01-01T00:00:02Z. Bump by 2 seconds to satisfy the validation.
19+
SOURCE_DATE_EPOCH = 315532802;
1620
};
1721
}
1822
);

0 commit comments

Comments
 (0)