Skip to content

Commit

Permalink
Use different nixpkgs for rust and ocaml toolchains
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril committed Jan 13, 2025
1 parent 75def71 commit 6b0f901
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
};
charon = {
url = "github:aeneasverif/charon";
inputs.nixpkgs.follows = "eurydice/nixpkgs";
inputs.nixpkgs.follows = "nixpkgs"; # Recent nixpkgs for rust-overlay
inputs.nixpkgs-ocaml.follows = "eurydice/nixpkgs"; # eurydice nixpkgs for ocaml compat
inputs.flake-utils.follows = "flake-utils";
inputs.rust-overlay.follows = "rust-overlay";
inputs.crane.follows = "crane";
Expand All @@ -26,11 +27,6 @@
};
eurydice = {
url = "github:aeneasverif/eurydice";
# If we override this, we would need to override karamel's nixpkgs too to
# get compatible ocaml versions, but flakes don't support nested
# overrides. We also can't use eurydice's nixpkgs everywhere because it
# does not contain `mold-wrapped` which is required by libcrux.
# inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs.charon.follows = "charon";
};
Expand Down

0 comments on commit 6b0f901

Please sign in to comment.