28 lines
571 B
Nix

{
description = "Dev shell with adoptopenjdk-icedtea-web and jdk8";
inputs = {
nixpkgs.url = "nixpkgs"; # use the nixpkgs from your flake registry / channel
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
overlays = [ ];
};
in {
devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [
adoptopenjdk-icedtea-web
jdk8
];
shellHook = ''
javaws sts-katze.jnlp
'';
};
};
}