Commit 210a5d14 authored by David Wronek's avatar David Wronek
Browse files

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: default avatarDavid Wronek <david.wronek@mainlining.org>
parent 80e2deac
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -145,6 +145,7 @@ in
        RuntimeDirectoryMode = "0750";
        EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
        ReadWritePaths = [ stateDir ];
        ExecPaths = [ stateDir ];

        # Hardening
        CapabilityBoundingSet = "";