From ce43d6334534b4cced73a605204baec6bb558d1d Mon Sep 17 00:00:00 2001 From: Tobias Pflug Date: Thu, 17 Oct 2024 13:16:49 +0200 Subject: [PATCH] Move the pc-contracts-cli binary to zip root For the release bundle the binary needs to be at the root --- nix/packages/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/packages/default.nix b/nix/packages/default.nix index 5366dbcb..ee0cf23d 100644 --- a/nix/packages/default.nix +++ b/nix/packages/default.nix @@ -14,7 +14,8 @@ rec { pc-contracts-release-bundle = pkgs.runCommand "bundled-cli" { buildInputs = [ pkgs.zip ]; } '' cp -r ${pc-contracts-cli}/* ./ mkdir -p $out - zip -r $out/release.zip ./{package.json,node_modules,dist,README.md} + zip -r $out/release.zip ./package.json ./node_modules README.md + zip -j $out/release.zip ./dist/pc-contracts-cli ''; kupo = pkgs.callPackage ./kupo.nix { }; ogmios = pkgs.callPackage ./ogmios.nix { };