Skip to content

Commit

Permalink
[DDW-1223] Make the intallers downloadable from Hydra
Browse files Browse the repository at this point in the history
  • Loading branch information
michalrus committed Jun 30, 2023
1 parent ffb2d45 commit 664c9a4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nix/internal/any-darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ in rec {
installPhase = ''
mkdir -p $out
cp $(tail -n 1 make-installer.log) $out/
# Make it downloadable from Hydra:
mkdir -p $out/nix-support
echo "file binary-dist \"$(echo $out/*.pkg)\"" >$out/nix-support/hydra-build-products
'';
};

Expand Down
4 changes: 4 additions & 0 deletions nix/internal/x86_64-linux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,10 @@ in rec {
in pkgs.runCommand fn {} ''
mkdir -p $out
cp ${newBundle} $out/${fn}
# Make it downloadable from Hydra:
mkdir -p $out/nix-support
echo "file binary-dist \"$(echo $out/*.bin)\"" >$out/nix-support/hydra-build-products
'';

};
Expand Down
4 changes: 4 additions & 0 deletions nix/internal/x86_64-windows.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ in rec {
${makeInstaller { signed = false; }}/bin/make-signed-installer
mkdir $out
cp -v installers/daedalus-*-*.exe $out/
# Make it downloadable from Hydra:
mkdir -p $out/nix-support
echo "file binary-dist \"$(echo $out/*.exe)\"" >$out/nix-support/hydra-build-products
'';

# They’re initially the same as Linux when cross-compiling for Windows:
Expand Down

0 comments on commit 664c9a4

Please sign in to comment.