Skip to content

Commit

Permalink
flake/packages: add pulse-exe
Browse files Browse the repository at this point in the history
  • Loading branch information
jhvst committed Nov 30, 2024
1 parent 381c5e6 commit 8a590d9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,20 @@
'';

};

packages.pulse-exe = pkgs.writeShellScriptBin "pulse.exe" ''
exec ${inputs.fstar.packages.${system}.fstar}/bin/fstar.exe "$1" \
--include ${config.packages.pulse}/lib/pulse \
--include ${config.packages.pulse}/lib/pulse/c \
--include ${config.packages.pulse}/lib/pulse/core \
--include ${config.packages.pulse}/lib/pulse/lib \
--include ${config.packages.pulse}/lib/pulse/lib/class \
--include ${config.packages.pulse}/lib/pulse/lib/ml \
--include ${config.packages.pulse}/lib/pulse/lib/pledge \
--load_cmxs pulse \
"$@"
'';

devShells = {
default = inputs.devenv.lib.mkShell {
inherit inputs pkgs;
Expand Down

0 comments on commit 8a590d9

Please sign in to comment.