diff --git a/pkgs/development/embedded/arduino/arduino-core/chrootenv.nix b/pkgs/development/embedded/arduino/arduino-core/chrootenv.nix index 2efab1f1e2f5..6697ecc6b192 100644 --- a/pkgs/development/embedded/arduino/arduino-core/chrootenv.nix +++ b/pkgs/development/embedded/arduino/arduino-core/chrootenv.nix @@ -3,7 +3,8 @@ let arduino-unwrapped = arduino-core-unwrapped.override { inherit withGui withTeensyduino; }; in buildFHSEnv { - name = "arduino"; + pname = "arduino"; + inherit (arduino-core-unwrapped) version; targetPkgs = pkgs: (with pkgs; [