Skip to content

Commit 29f38c3

Browse files
committed
Make charon available in the nix package too
1 parent 1aeaad8 commit 29f38c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flake.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@
6868
zarith
6969
ocamlgraph
7070
]);
71-
afterBuild = ''
72-
echo charon.packages.${system}.tests
71+
postInstall = ''
72+
ln -s ${charon.packages.${system}.charon}/bin/charon $out/bin
7373
'';
7474
};
7575

@@ -116,7 +116,7 @@
116116
buildInputs = [ charon.packages.${system}.rustToolchain ];
117117
buildPhase = ''
118118
export AENEAS_EXE=${aeneas}/bin/aeneas
119-
export CHARON_EXE=${charon.packages.${system}.charon}/bin/charon
119+
export CHARON_EXE=${aeneas}/bin/charon
120120
export TEST_RUNNER_EXE=${test_runner}/bin/test_runner
121121
122122
# Copy the tests

0 commit comments

Comments
 (0)