Skip to content

Commit 52e06f6

Browse files
committed
get binary path using luthier
1 parent 23eb94e commit 52e06f6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

flake.nix

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,21 @@
8787
installPhase = ''
8888
runHook preInstall
8989
90-
mkdir -p $out/bin
91-
cp build/release/lute/cli/lute $out/bin/lute
90+
BIN_PATH="$(build/lute0 tools/luthier.luau generate --which --config release Lute.CLI)"
91+
92+
mkdir -p "$out/bin"
93+
cp "$BIN_PATH" "$out/bin/lute"
9294
9395
runHook postInstall
9496
'';
9597

9698
checkPhase = ''
9799
runHook preCheck
98100
101+
BIN_PATH="$(build/lute0 tools/luthier.luau generate --which --config release Lute.Test)"
102+
99103
export HOME="$TMPDIR"
100-
./build/release/tests/lute-tests
104+
"$BIN_PATH"
101105
102106
runHook postCheck
103107
'';

0 commit comments

Comments
 (0)