I ran into this problem while experimenting with automating some dotfile
setup with doom +org tangle $literate_config_file
; here's a minimal
version for reproduction. It's a hardware-independent1 recipe I was
using to generate hardware-specific versions of my kmonad config, which
dynamically inserts whatever filepath that laptop's built-in keyboard
device file lives at (unless an external keyboard is plugged in, then
all bets are off lol).
Footnotes
-
well, the hardware has to run linux ↩