mkosi.clangd: Don't pass --host if we're not using flatpak-spawn

This commit is contained in:
Daan De Meyer
2024-12-20 20:09:36 +01:00
parent 8c5b4df543
commit b133f57544
+1 -1
View File
@@ -7,7 +7,7 @@ else
SPAWN=()
fi
MKOSI_CONFIG="$("${SPAWN[@]}" --host mkosi --json summary | jq -r .Images[-1])"
MKOSI_CONFIG="$("${SPAWN[@]}" mkosi --json summary | jq -r .Images[-1])"
DISTRIBUTION="$(jq -r .Distribution <<< "$MKOSI_CONFIG")"
RELEASE="$(jq -r .Release <<< "$MKOSI_CONFIG")"
ARCH="$(jq -r .Architecture <<< "$MKOSI_CONFIG")"