Skip to content

Commit

Permalink
Fix for ocaml-version-3.7.1 unpacking
Browse files Browse the repository at this point in the history
  • Loading branch information
rizo authored Nov 27, 2024
1 parent 3740a2b commit 969b458
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nix/overlay/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ let
inherit (nixpkgs) lib;

common = {
ocaml-version = super.ocaml-version.overrideAttrs (oldAttrs:
if (oldAttrs.version == "3.7.1") then {
unpackCmd = ''
tar xf "$curSrc"
'';
} else {}
);

ocamlfind = super.ocamlfind.overrideAttrs (oldAttrs: {
patches = oldAttrs.patches or [ ]
++ lib.optional (lib.versionOlder oldAttrs.version "1.9.3")
Expand Down

0 comments on commit 969b458

Please sign in to comment.