diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 9727c48b1..880eb9251 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -15,4 +15,4 @@ jobs: - uses: cachix/install-nix-action@v30 with: nix_path: nixpkgs=channel:nixos-unstable - - run: nix develop -c dune build @runtest @check + - run: nix develop -c dune build --root=. @runtest @check diff --git a/flake.lock b/flake.lock index 95e638b1d..8b559da33 100644 --- a/flake.lock +++ b/flake.lock @@ -5,29 +5,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "owner": "numtide", "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_2": { - "inputs": { - "systems": "systems_2" - }, - "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "type": "github" }, "original": { @@ -38,15 +20,14 @@ }, "nixpkgs": { "inputs": { - "flake-utils": "flake-utils_2", "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1725916231, - "narHash": "sha256-kaU41Z43Uv2As0Sor8FPACJfWjkbUsWnZMtbCgqicvU=", + "lastModified": 1733707976, + "narHash": "sha256-WU6P7fh8TqlNSitwC+T2TISAYvrMkk1yBh3IyjhENOo=", "owner": "nix-ocaml", "repo": "nix-overlays", - "rev": "d63aa7b62251c70bbf0a28a67c30555077a2b758", + "rev": "0a2ae55089c32c38dab402a50b7aa7a78a5046b4", "type": "github" }, "original": { @@ -57,17 +38,17 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1725857262, - "narHash": "sha256-m9n0PncgZepVgmjOO1rfVXMgUACDOwZbhjSRjJ/NUpM=", + "lastModified": 1733646270, + "narHash": "sha256-NctMbHnOGW8ESuJ3UO5wz4/HnQXhx55ENRLMOtyJY88=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5af6aefbcc55670e36663fd1f8a796e1e323001a", + "rev": "3d58debbb538678cf297954e520d4a4ea3ff2e15", "type": "github" }, "original": { "owner": "NixOS", "repo": "nixpkgs", - "rev": "5af6aefbcc55670e36663fd1f8a796e1e323001a", + "rev": "3d58debbb538678cf297954e520d4a4ea3ff2e15", "type": "github" } }, @@ -91,21 +72,6 @@ "repo": "default", "type": "github" } - }, - "systems_2": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index c02dfced2..97ca9701e 100644 --- a/flake.nix +++ b/flake.nix @@ -37,13 +37,14 @@ default = http; http = pkg { pname = "http"; + propagatedBuildInputs = [ ppx_expect ]; checkInputs = [ alcotest base_quickcheck ppx_expect crowbar ]; }; cohttp = pkg { pname = "cohttp"; checkInputs = [ fmt alcotest ]; propagatedBuildInputs = [ - stringext http re uri uri-sexp logs sexplib0 ppx_sexp_conv + base64 stringext http re uri uri-sexp logs sexplib0 ppx_sexp_conv ]; }; cohttp-top = pkg { @@ -56,8 +57,8 @@ }; cohttp-curl-lwt = pkg { pname = "cohttp-curl-lwt"; - checkInputs = [ cohttp-lwt-unix cohttp cohttp-lwt conduit-lwt ounit2 uri ]; - propagatedBuildInputs = [ ocurl http stringext lwt ]; + checkInputs = [ alcotest cohttp-lwt-unix cohttp cohttp-lwt conduit-lwt ounit2 uri ]; + propagatedBuildInputs = [ ocurl cohttp-curl http stringext lwt ]; }; cohttp-curl-async = pkg { pname = "cohttp-curl-async";