Skip to content

Commit

Permalink
refactor(devenv): downgrade Java to version 8.
Browse files Browse the repository at this point in the history
This is the version currently running on AWS Glue V4. [[more info](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html)]
  • Loading branch information
shahinism committed Sep 5, 2024
1 parent 4121bb0 commit 8e53346
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions devenv.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
{
pkgs,
lib,
config,
inputs,
...
}:
{ pkgs, lib, config, inputs, ... }:

{
name = "sparkle";
# https://devenv.sh/basics/
env = {
GREET = "🛠️ Let's hack ";
};
env = { GREET = "🛠️ Let's hack "; };

# https://devenv.sh/scripts/
scripts.hello.exec = "echo $GREET";
Expand All @@ -34,12 +26,7 @@
};

# https://devenv.sh/packages/
packages = with pkgs; [
nixfmt-rfc-style
bat
jq
tealdeer
];
packages = with pkgs; [ nixfmt-rfc-style bat jq tealdeer ];

languages = {

Expand All @@ -61,7 +48,7 @@
};

languages.java.enable = true;
languages.java.jdk.package = pkgs.jdk17;
languages.java.jdk.package = pkgs.jdk8; # Java version running on AWS Glue

enterShell = ''
hello
Expand Down

0 comments on commit 8e53346

Please sign in to comment.