Commit Graph

14 Commits

Author SHA1 Message Date
Felix Buehler
1d83df1da1 platformio: fix fhsenv version 2024-11-26 21:16:20 +01:00
yottanami
0ba947ba44 platformio: add udev to dependencies 2024-06-17 22:50:29 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Atemu
f63a12f296 tree-wide: buildFHSUserEnv -> buildFHSEnv 2023-04-16 10:15:13 +02:00
adisbladis
41c97bd32b
Merge pull request #224175 from adisbladis/platformio-udev-multi
platformio: make multi-output
2023-04-12 21:40:36 +12:00
adisbladis
a758953c19 platformio: add ncurses
Running `pio check` with clang-tidy currently fails because of lacking libtinfo.
2023-04-12 19:15:47 +12:00
adisbladis
bd3361bcfb platformio: ensure coherent python interpreter with platformio-core 2023-04-01 19:34:06 +13:00
adisbladis
8d8dd6fdbf platformio: make multi-output
Currently udev rules symlinks against platformio sources, pulling in the platformio source tree into the runtime closure.
Previous to platformio-core being exposed separately from platformio this also meant that you had no ergonomic way to avoid platformio in the system closure, even though you only wanted the udev rules.

We can avoid this by making platformio-core multi output, making it trivial to depend only on the udev rules.
2023-04-01 19:34:05 +13:00
Andrew Childs
119a521977 platformio-core: expose unwrapped platformio as platformio-core
PlatformIO is a pure python package that is in turn a package
manager. In a pure NixOS environment, this means that any downloaded
binary packages will not run. To make PlatformIO usable, there's a
chrootenv wrapper. However, in a mixed environment like other linux or
darwin, the pure python version will work, and in the case of darwin
only the pure version will work, since the chrootenv wrapper is not
supported.

To handle the above use cases we have:

 * platformio -- unwrapped on darwin, wrapped on linux. Should always
                 provide a functional platformio.

 * platformio-core -- always unwrapped (like "bintools-unwrapped") for
                      when the wrapper is explicitly not required. For
                      example, on other linux where the chrootenv is
                      not supported.
2023-04-01 13:13:15 +09:00
Jos van Bakel
4271c9ca59
platformio: fix udev path 2023-01-27 11:57:45 +01:00
arcnmx
a3b7b770ce platformio: work around fallout from #194205
fixes #198319
2022-11-01 11:52:31 -07:00
Peter Hoeg
1b467b894b platformio: needs xdg-user-dirs 2022-06-05 17:37:35 +02:00
Sandro Jäckel
4e285168fe platformio: remove 32bit packages to unbreak 2021-09-05 15:00:36 +02:00
Pooya Moradi
08d9ac46db platformio: move the directory to pkgs/development/embedded/ 2021-08-16 15:29:57 +04:30