jpp/flake.nix
2024-06-07 14:19:05 +02:00

45 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
zip
julia_19-bin
];
};
}
);
};
}