Skip to content

Commit 664c9a4

Browse files
committed
[DDW-1223] Make the intallers downloadable from Hydra
1 parent ffb2d45 commit 664c9a4

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

nix/internal/any-darwin.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,10 @@ in rec {
192192
installPhase = ''
193193
mkdir -p $out
194194
cp $(tail -n 1 make-installer.log) $out/
195+
196+
# Make it downloadable from Hydra:
197+
mkdir -p $out/nix-support
198+
echo "file binary-dist \"$(echo $out/*.pkg)\"" >$out/nix-support/hydra-build-products
195199
'';
196200
};
197201

nix/internal/x86_64-linux.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,10 @@ in rec {
307307
in pkgs.runCommand fn {} ''
308308
mkdir -p $out
309309
cp ${newBundle} $out/${fn}
310+
311+
# Make it downloadable from Hydra:
312+
mkdir -p $out/nix-support
313+
echo "file binary-dist \"$(echo $out/*.bin)\"" >$out/nix-support/hydra-build-products
310314
'';
311315

312316
};

nix/internal/x86_64-windows.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ in rec {
2525
${makeInstaller { signed = false; }}/bin/make-signed-installer
2626
mkdir $out
2727
cp -v installers/daedalus-*-*.exe $out/
28+
29+
# Make it downloadable from Hydra:
30+
mkdir -p $out/nix-support
31+
echo "file binary-dist \"$(echo $out/*.exe)\"" >$out/nix-support/hydra-build-products
2832
'';
2933

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

0 commit comments

Comments
 (0)