]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Set BuildSourcesEphemeral=no in mkosi.clangd
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 1 Nov 2024 12:05:46 +0000 (13:05 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 1 Nov 2024 12:30:45 +0000 (13:30 +0100)
We're just running a language server so no need to put a writable
overlay on top of the build sources to prevent modifications. This
hopefully helps the language server track modifications to the source
files better.

mkosi.clangd

index 80d544677a214668dfc42e4eaed102e3ee5b9b52..8e54e44f70973da304378ee2266cae55badf7f6b 100755 (executable)
@@ -8,6 +8,7 @@ ARCH="$(jq -r .Architecture <<< "$MKOSI_CONFIG")"
 
 exec mkosi \
     --incremental=strict \
+    --build-sources-ephemeral=no \
     --format=none \
     build \
     clangd \