Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import sources.nixpkgs {
dolmen = self.callPackage ./dolmen.nix { };
dolmen_type = self.callPackage ./dolmen_type.nix { };
dolmen_loop = self.callPackage ./dolmen_loop.nix { };
dolmen_model = self.callPackage ./dolmen_model.nix { };
dolmen_bin = self.callPackage ./dolmen_bin.nix { };
landmarks = self.callPackage ./landmarks.nix { };
landmarks-ppx = self.callPackage ./landmarks-ppx.nix { };
zarith_stubs_js = self.callPackage ./zarith_stubs_js.nix { };
Expand Down
27 changes: 27 additions & 0 deletions nix/dolmen_bin.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ buildDunePackage,
dolmen,
dolmen_type,
dolmen_loop,
dolmen_model,
fmt,
cmdliner
}:

buildDunePackage {
pname = "dolmen_bin";
inherit (dolmen) version src strictDeps;

minimalOCamlVersion = "4.08";
duneVersion = "3";

propagatedBuildInputs = [
dolmen
dolmen_type
dolmen_loop
dolmen_model
fmt
cmdliner
];

meta = dolmen.meta;
}
23 changes: 23 additions & 0 deletions nix/dolmen_model.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ buildDunePackage,
dolmen,
dolmen_loop,
zarith,
farith
}:

buildDunePackage {
pname = "dolmen_model";
inherit (dolmen) version src strictDeps;

minimalOCamlVersion = "4.08";
duneVersion = "3";

propagatedBuildInputs = [
dolmen
dolmen_loop
zarith
farith
];

meta = dolmen.meta;
}
17 changes: 9 additions & 8 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"homepage": "",
"owner": "Gbury",
"repo": "dolmen",
"rev": "3c77a22b2aac2eb85aca76f198797d40ca3ec4a3",
"sha256": "0qsl5f0mh4azmqvq99l24cna8brvw00x9703wyd98gm0pbmsc3pm",
"rev": "6c96de76c291c8159d5f954bfd19924e1e7d4530",
"sha256": "0krq5gcifxw5zljn9ljq78g673224vmln77fsavm50yns12g0s30",
"type": "tarball",
"url": "https://github.com/Gbury/dolmen/archive/3c77a22b2aac2eb85aca76f198797d40ca3ec4a3.tar.gz",
"url": "https://github.com/Gbury/dolmen/archive/6c96de76c291c8159d5f954bfd19924e1e7d4530.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz",
"version": "0.10"
},
Expand All @@ -26,16 +26,17 @@
"version": "dev"
},
"nixpkgs": {
"branch": "nixos-25.05",
"branch": "nixos-25.11",
"description": "Nix Packages collection",
"homepage": null,
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "36ab78dab7da2e4e27911007033713bab534187b",
"sha256": "072rx8y4bravd9163brjicqsb1i11f0n9v4bhikzbvc7wpb7kdds",
"rev": "fa56d7d6de78f5a7f997b0ea2bc6efd5868ad9e8",
"sha256": "0d8xd2rk1phikz7icawxkbdsg8yc5c71hs5aln0kg9hj73f50kaz",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/36ab78dab7da2e4e27911007033713bab534187b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
"url": "https://github.com/NixOS/nixpkgs/archive/fa56d7d6de78f5a7f997b0ea2bc6efd5868ad9e8.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz",
"version": "25.11"
},
"ocplib-simplex": {
"branch": "v0.5.1",
Expand Down
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ pkgs.mkShell {
bos
dolmen_loop
camlzip
psmt2-frontend
stdlib-shims
menhir
dune-build-info
Expand All @@ -43,5 +42,6 @@ pkgs.mkShell {
landmarks-ppx
qcheck
utop
dolmen_bin
];
}
Loading