jpp/flake.nix
2024-04-11 20:23:13 +02:00

43 lines
1.1 KiB
Nix

{
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
spark2014
alire
gprbuild
jdk
gradle
go
ghc
clisp
smlnj
swiProlog
gnu-smalltalk
];
};
}
);
};
}