Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update OCaml #109

Merged
merged 3 commits into from
Nov 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions ocaml/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
nixpkgs.lib.genAttrs (import systems) (
system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ ocaml-overlays.overlays.default ];
};
pkgs = nixpkgs.legacyPackages.${system}.extend ocaml-overlays.overlays.default;
in
f {
inherit pkgs system;
# You can set the OCaml version to a particular release. Also, you
# may have to pin some packages to a particular revision if the
# devshell fail to build. This should be resolved in the upstream.
ocamlPackages = pkgs.ocaml-ng.ocamlPackages_latest;
}
);
Expand All @@ -47,10 +47,9 @@
src = self.outPath;

# Uncomment if you need the executable of dream_eml during build
# preBuild = ''
# PATH="${ocamlPackages.dream}/bin:$PATH"
# export PATH
# '';
# nativeBuildInputs = [
# ocamlPackages.dream
# ];

buildInputs = with ocamlPackages; [ ocaml-syntax-shims ];

Expand Down
Loading