Skip to content

Commit 8411ffd

Browse files
Update lib/runners/vfkit.nix
1 parent 74118b3 commit 8411ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runners/vfkit.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ in
137137
then ''
138138
SOCKET_ABS="${lib.escapeShellArg socket}"
139139
[[ "$SOCKET_ABS" != /* ]] && SOCKET_ABS="$PWD/$SOCKET_ABS"
140-
echo '{"state": "Stop"}' | ${vmHostPackages.socat}/bin/socat - "UNIX-CONNECT:$SOCKET_ABS"
140+
echo '{"state": "Stop"}' | ${lib.getExe vmHostPackages.socat} - "UNIX-CONNECT:$SOCKET_ABS"
141141
''
142142
else throw "Cannot shutdown without socket";
143143

0 commit comments

Comments
 (0)