We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cdc7f2 commit 9b8e2cbCopy full SHA for 9b8e2cb
lib/runners/vfkit.nix
@@ -137,7 +137,7 @@ in
137
then ''
138
SOCKET_ABS="${lib.escapeShellArg socket}"
139
[[ "$SOCKET_ABS" != /* ]] && SOCKET_ABS="$PWD/$SOCKET_ABS"
140
- echo '{"state": "Stop"}' | ${vmHostPackages.socat}/bin/socat - "UNIX-CONNECT:$SOCKET_ABS"
+ echo '{"state": "Stop"}' | ${lib.getExe vmHostPackages.socat} - "UNIX-CONNECT:$SOCKET_ABS"
141
''
142
else throw "Cannot shutdown without socket";
143
0 commit comments