Skip to content

Commit

Permalink
Merge #1327
Browse files Browse the repository at this point in the history
1327: cardano-node-win64: add libsodium dll r=disassembler a=disassembler



Co-authored-by: Samuel Leathers <[email protected]>
  • Loading branch information
iohk-bors[bot] and disassembler authored Jun 23, 2020
2 parents 5b5a8b3 + 709a6d5 commit c121608
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nix/binary-release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
}:

let
lib = pkgs.lib;
libsodiumWin64 = pkgs.pkgsCross.mingwW64.libsodium;
name = "cardano-node-${project.version}-${platform}";

in pkgs.runCommand name {
Expand All @@ -29,6 +31,9 @@ in pkgs.runCommand name {
cp -Rv ${../configuration}/* ./configuration/
chmod -R +w .
${lib.optionalString (platform == "win64") ''
cp ${libsodiumWin64}/bin/libsodium-23.dll .
''}
${if (platform == "win64")
then "zip -r $out/${name}.zip ."
else "tar -czf $out/${name}.tar.gz ."
Expand Down

0 comments on commit c121608

Please sign in to comment.