balena-cli: install balena-compose-parser binary into @balena/compose-parser
required for `balena push` with docker compose files (multi container release), crashes with cryptic errors/stacktrace otherwise
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
balena-compose-parser,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
nodejs_24,
|
||||
@@ -46,6 +47,10 @@ buildNpmPackage' rec {
|
||||
udev
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
cp ${lib.getExe balena-compose-parser} $out/lib/node_modules/balena-cli/node_modules/@balena/compose-parser/bin/
|
||||
'';
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user