Skip to content

Commit

Permalink
ci: use charon#138 to fix the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril committed Apr 22, 2024
1 parent f2fd840 commit d49b61f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 4 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

nixpkgs.follows = "karamel/nixpkgs";

charon.url = "github:AeneasVerif/charon";
charon.url = "github:AeneasVerif/charon/fix-rustup-detection";
charon.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {
Expand Down Expand Up @@ -61,8 +61,7 @@
buildInputs = [charon.buildInputs eurydice];
nativeBuildInputs = [charon.nativeBuildInputs fstar clang];
buildPhase = ''
# we need to tell `charon` not to use `rustup`
export CHARON="${charon}/bin/charon --cargo-no-rust-version"
export CHARON="${charon}/bin/charon"
# setup CHARON_HOME: it is expected to be writtable, hence the `cp --no-preserve`
cp --no-preserve=mode,ownership -rf ${inputs.charon.sourceInfo.outPath} ./charon
Expand Down

0 comments on commit d49b61f

Please sign in to comment.