nixos/esphome: set ExecPaths
It looks like ExecPaths was removed in #508178, after adding it in #498811. ExecPaths is required to fix building firmware for LibreTiny-based devices, otherwise we get the following error: ``` sh: line 1: /var/lib/esphome/.platformio/packages/toolchain-gccarmnoneeabi/bin/arm-none-eabi-g++: Permission denied ``` Signed-off-by: David Wronek <david.wronek@mainlining.org>
This commit is contained in:
@@ -145,6 +145,7 @@ in
|
||||
RuntimeDirectoryMode = "0750";
|
||||
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
|
||||
ReadWritePaths = [ stateDir ];
|
||||
ExecPaths = [ stateDir ];
|
||||
|
||||
# Hardening
|
||||
CapabilityBoundingSet = "";
|
||||
|
||||
Reference in New Issue
Block a user