We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
failed to create directory via template '/tmp/nix-shell.XXXXXX/'
1 parent 6ee20d6 commit 54ea656Copy full SHA for 54ea656
Dockerfile
@@ -20,6 +20,14 @@ RUN DEBIAN_FRONTEND=noninteractive \
20
&& ./fetch-docker.sh input-output-hk/devx $PLATFORM.$COMPILER_NIX_NAME$TARGET_PLATFORM$VARIANT$IOG-env | zstd -d | nix-store --import | tee store-paths.txt
21
22
RUN cat <<EOF >> $HOME/.bashrc
23
+# This fix: mktemp: failed to create directory via template '/tmp/nix-shell.XXXXXX/' ...
24
+if [ -n "\$VSCODE_GIT_IPC_HANDLE" ]; then
25
+ mkdir -p "\$(dirname "\$VSCODE_GIT_IPC_HANDLE")"
26
+fi
27
+if [ -n "\$VSCODE_IPC_HOOK_CLI" ]; then
28
+ mkdir -p "\$(dirname "\$VSCODE_IPC_HOOK_CLI")"
29
30
+# This line is the one that actually brings DevX devshell ...
31
source $(grep -m 1 -e '-env.sh$' store-paths.txt)
32
EOF
33
0 commit comments