Skip to content

Commit 29cee7d

Browse files
committed
ocamlPackages.posix-socket: disable for OCaml < 4.12
1 parent 7cadc8f commit 29cee7d

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

pkgs/development/ocaml-modules/posix/base.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ buildDunePackage rec {
1313
src = fetchFromGitHub {
1414
owner = "savonet";
1515
repo = "ocaml-posix";
16-
rev = "v${version}";
16+
tag = "v${version}";
1717
hash = "sha256-JKJIiuo4lW8DmcK1mJlT22784J1NS2ig860jDbRIjIo=";
1818
};
1919

20-
duneVersion = "3";
2120
minimalOCamlVersion = "4.08";
2221

2322
propagatedBuildInputs = [

pkgs/development/ocaml-modules/posix/socket.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildDunePackage {
55

66
inherit (posix-base) version src;
77

8-
duneVersion = "3";
8+
minimalOCamlVersion = "4.12";
99

1010
propagatedBuildInputs = [ posix-base ];
1111

pkgs/development/ocaml-modules/posix/time2.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ buildDunePackage {
1111

1212
inherit (posix-base) version src;
1313

14-
duneVersion = "3";
15-
1614
propagatedBuildInputs = [
1715
posix-base
1816
posix-types

pkgs/development/ocaml-modules/posix/types.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ buildDunePackage {
55

66
inherit (posix-base) version src;
77

8-
minimalOCamlVersion = "4.03";
9-
duneVersion = "3";
10-
118
propagatedBuildInputs = [ posix-base ];
129

1310
meta = posix-base.meta // {

0 commit comments

Comments
 (0)