modern-compiler-ml/flake.nix
jmug 915660c8a7 Add Standard ML of NJ to the dev shell flake.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2024-12-18 14:56:27 -08:00

25 lines
573 B
Nix

{
description = "A basic flake with a shell";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-24.11";
systems.url = "github:nix-systems/default";
flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
};
outputs =
{ nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [ smlnj ];
};
}
);
}