Repository navigation
nixos/esphome: add environment options and fix permission denied error - #498811
Merged
Merged
Conversation
This will allow users to easily set secrets and other environment variables. Signed-off-by: David Wronek <[email protected]>
Signed-off-by: David Wronek <[email protected]>
Fixes the following issue: ``` sh: line 1: /var/lib/esphome/.platformio/packages/toolchain-gccarmnoneeabi/bin/arm-none-eabi-g++: Permission denied ``` Signed-off-by: David Wronek <[email protected]>
ungeskriptet
force-pushed
the
esphome-env
branch
from
March 11, 2026 12:13
618abce to
d3e15cd
Compare
SuperSandro2000
approved these changes
Apr 9, 2026
Member
|
I think the permission denied error is the second part of #504950 For the import error I will create another PR in a minute. |
3 of 13 tasks
oddlama
pushed a commit
that referenced
this pull request
Apr 27, 2026
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 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These commits introduce two new options:
services.esphome.environmentservices.esphome.environmentFileThese options can be used to set a password for the dashboard.
This change also fixes a permission denied error during firmware compilation by setting ExecPaths= and ReadWritePaths= to the state directory. (#339557 (comment))
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.