2 Star 0 Fork 0

mirrors_facebook/reason

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
flake.nix 1011 Bytes
一键复制 编辑 原始数据 按行查看 历史
Antonio Nuno Monteiro 提交于 2024-11-02 20:32 . OCaml 5.3 support (#2800)
{
description = "Nix Flake for ReasonML";
inputs.nix-filter.url = "github:numtide/nix-filter";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.nixpkgs = {
url = "github:nix-ocaml/nix-overlays";
inputs.flake-utils.follows = "flake-utils";
};
outputs = { self, nixpkgs, flake-utils, nix-filter }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages."${system}".extend (self: super: {
ocamlPackages = super.ocaml-ng.ocamlPackages_5_3;
});
packages = pkgs.callPackage ./nix { nix-filter = nix-filter.lib; };
in
{
packages = packages // { default = packages.reason; };
devShells = {
default = pkgs.callPackage ./nix/shell.nix {
reason = self.packages.${system}.default;
};
release = pkgs.callPackage ./nix/shell.nix {
reason = self.packages.${system}.default;
release-mode = true;
};
};
});
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_facebook/reason.git
[email protected]:mirrors_facebook/reason.git
mirrors_facebook
reason
reason
master

搜索帮助