jpp/flake.nix

44 lines
1.1 KiB
Nix
Raw Normal View History

2024-03-22 13:11:09 +01:00
{
description = "compilers and interpreters for jpp";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
};
outputs = {
nixpkgs,
...
}: let
systems = [ "x86_64-linux" "aarch64-linux" ];
forEachSystem = nixpkgs.lib.genAttrs systems;
pkgsForEach = nixpkgs.legacyPackages;
in {
devShells = forEachSystem (system:
let
pkgs = pkgsForEach.${system};
in {
default = pkgs.mkShell {
name = "jpp";
nativeBuildInputs = with pkgs; [
gcc
clang
gnat
2024-04-11 20:23:13 +02:00
spark2014
2024-03-22 13:11:09 +01:00
alire
gprbuild
jdk
2024-04-11 20:23:13 +02:00
gradle
2024-03-22 13:11:09 +01:00
go
ghc
clisp
smlnj
swiProlog
2024-04-11 20:23:13 +02:00
gnu-smalltalk
2024-03-22 13:11:09 +01:00
];
};
}
);
};
}