Skip to content

Commit

Permalink
Use recent nixpkgs for the non-ocaml side of charon
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril committed Jan 13, 2025
1 parent 615d3cb commit 34df0d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flake.lock

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

3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
recent_nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";

charon.url = "github:AeneasVerif/charon";
charon.inputs.nixpkgs.follows = "nixpkgs";
charon.inputs.nixpkgs.follows = "recent_nixpkgs";
charon.inputs.nixpkgs-ocaml.follows = "nixpkgs";
};
outputs =
{ self
Expand Down
1 change: 1 addition & 0 deletions scripts/update-charon-pin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ CHARON_BRANCH="$(git -C "$CHARON_DIR" rev-parse --abbrev-ref HEAD)"
CHARON_COMMIT="$(git -C "$CHARON_DIR" rev-parse HEAD)"
echo 'Taking the commit from your local charon directory. The charon branch is `'"$CHARON_BRANCH"'`'
nix flake lock --extra-experimental-features nix-command --extra-experimental-features flakes --override-input charon "github:aeneasverif/charon/$CHARON_COMMIT"
nix flake lock --extra-experimental-features nix-command --extra-experimental-features flakes --update-input charon/rust-overlay

0 comments on commit 34df0d2

Please sign in to comment.