diff options
author | adisbladis <adisbladis@gmail.com> | 2023-04-18 15:05:35 +1200 |
---|---|---|
committer | adisbladis <adisbladis@gmail.com> | 2023-04-18 15:48:49 +1200 |
commit | f88eb92ff9cee37efada430c33311673814c8360 (patch) | |
tree | 7b7cd0b3c4fcdd07c776050e5bea9f8a35b4e5da /pkgs/development/embedded | |
parent | a4f504536f2cb73b4e92b6fe8ccb92788a4a2f97 (diff) | |
download | nixpkgs-f88eb92ff9cee37efada430c33311673814c8360.tar nixpkgs-f88eb92ff9cee37efada430c33311673814c8360.tar.gz nixpkgs-f88eb92ff9cee37efada430c33311673814c8360.tar.bz2 nixpkgs-f88eb92ff9cee37efada430c33311673814c8360.tar.lz nixpkgs-f88eb92ff9cee37efada430c33311673814c8360.tar.xz nixpkgs-f88eb92ff9cee37efada430c33311673814c8360.tar.zst nixpkgs-f88eb92ff9cee37efada430c33311673814c8360.zip |
platformio: Don't link udev rules into a subdirectory
This causes collisions when NixOS is configured like ``` nix { pkgs, ... }: { services.udev.packages = [ pkgs.platformio ]; } ``` and would also cause a regression having to add the subirectory to the udev packages path: ``` nix { pkgs, ... }: { services.udev.packages = [ (pkgs.platformio-core.udev + "/99-platformio-udev.rules") ]; } ```
Diffstat (limited to 'pkgs/development/embedded')
-rw-r--r-- | pkgs/development/embedded/platformio/core.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/embedded/platformio/core.nix b/pkgs/development/embedded/platformio/core.nix index 81ad2354c99..e02e76e3ccc 100644 --- a/pkgs/development/embedded/platformio/core.nix +++ b/pkgs/development/embedded/platformio/core.nix @@ -73,7 +73,7 @@ with python3.pkgs; buildPythonApplication rec { # Install udev rules into a separate output so all of platformio-core is not a dependency if # you want to use the udev rules on NixOS but not install platformio in your system packages. postInstall = '' - mkdir -p $udev/lib/udev/rules.d/99-platformio-udev.rules + mkdir -p $udev/lib/udev/rules.d cp platformio/assets/system/99-platformio-udev.rules $udev/lib/udev/rules.d/99-platformio-udev.rules ''; |