This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
server/flake.nix

26 lines
493 B
Nix
Raw Permalink Normal View History

2024-05-22 19:43:12 +02:00
{
description = "Developer shell for lp";
2024-05-22 19:43:12 +02:00
inputs = {
2024-05-27 18:34:24 +02:00
nixpkgs.url = "nixpkgs/nixos-unstable";
2024-05-22 19:43:12 +02:00
};
2024-05-27 18:34:24 +02:00
outputs = { self, nixpkgs, ... }:
2024-05-22 19:43:12 +02:00
let
2024-05-27 18:34:24 +02:00
# TODO add more systems
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in
rec {
devShells."${system}".default = pkgs.mkShell {
buildInputs = with pkgs; [
maven
jdk22
jre8
2024-05-30 04:20:39 +02:00
# top run actions locally
act
2024-05-27 18:34:24 +02:00
];
};
2024-05-22 19:43:12 +02:00
};
2024-05-27 18:34:24 +02:00
2024-05-22 19:43:12 +02:00
}