Skip to content

Commit 8a590d9

Browse files
committed
flake/packages: add pulse-exe
1 parent 381c5e6 commit 8a590d9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

flake.nix

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,20 @@
8383
'';
8484

8585
};
86+
87+
packages.pulse-exe = pkgs.writeShellScriptBin "pulse.exe" ''
88+
exec ${inputs.fstar.packages.${system}.fstar}/bin/fstar.exe "$1" \
89+
--include ${config.packages.pulse}/lib/pulse \
90+
--include ${config.packages.pulse}/lib/pulse/c \
91+
--include ${config.packages.pulse}/lib/pulse/core \
92+
--include ${config.packages.pulse}/lib/pulse/lib \
93+
--include ${config.packages.pulse}/lib/pulse/lib/class \
94+
--include ${config.packages.pulse}/lib/pulse/lib/ml \
95+
--include ${config.packages.pulse}/lib/pulse/lib/pledge \
96+
--load_cmxs pulse \
97+
"$@"
98+
'';
99+
86100
devShells = {
87101
default = inputs.devenv.lib.mkShell {
88102
inherit inputs pkgs;

0 commit comments

Comments
 (0)