jpp/flake.nix

40 lines
1,004 B
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
alire
gprbuild
jdk
go
ghc
clisp
smlnj
swiProlog
];
};
}
);
};
}