diff options
| author | Mel <mel@rnrd.eu> | 2025-02-11 14:57:05 +0100 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2025-02-11 14:57:05 +0100 |
| commit | dca859c210b23a006e23cab04eab05368ebe3605 (patch) | |
| tree | edb3955f084f9aa56298f38a1239823ac20e3dee /modules/home | |
| parent | a551cad606d7acf310a611ce14ca235a30382087 (diff) | |
| download | minerals-dca859c210b23a006e23cab04eab05368ebe3605.tar.zst minerals-dca859c210b23a006e23cab04eab05368ebe3605.zip | |
Fix weird folder path duplication in idf_tools.py
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'modules/home')
| -rw-r--r-- | modules/home/code.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/home/code.nix b/modules/home/code.nix index 5513f12..fe3319d 100644 --- a/modules/home/code.nix +++ b/modules/home/code.nix @@ -88,6 +88,13 @@ let + '' mkdir -p $out/tools/python_env ln -s ${esp-idf-python-env} $out/tools/python_env/${pythonEnvFolderName} + + # for some reason the tools script likes doubling up + # the tools folder, fix that. + substituteInPlace $out/tools/idf_tools.py \ + --replace-fail \ + "os.path.join(g.idf_tools_path, 'tools'," \ + "os.path.join(g.idf_tools_path," ''; }); |
