hsim-live/flake.nix

29 lines
599 B
Nix

{
description = "Live-coding of a hybrid language runtime.";
inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
outputs =
{ nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
in
{
devShells."${system}".default = pkgs.mkShell {
packages =
with pkgs;
[ feedgnuplot ]
++ (with ocamlPackages; [
findlib
ocaml
ocaml-lsp
dune_3
zelus
]);
};
};
}