Create 'staging' directory

The latest version of the CLI tries to create this dir and errors if it
can't
This commit is contained in:
Bouke van der Bijl
2024-10-01 16:36:24 +02:00
parent 4e0dc359f8
commit 86e8139e45

View File

@@ -22,6 +22,9 @@ let
(pkgs.writeTextDir "package_index.json" (builtins.toJSON {packages = [];}))
(pkgs.writeTextDir "library_index.json" (builtins.toJSON {libraries = [];}))
];
postBuild = ''
mkdir -p $out/staging
'';
};
in
pkgs.runCommand "arduino-cli-wrapped" {