From d7ca9989876da6984eff9090cbc647bbd76512d6 Mon Sep 17 00:00:00 2001 From: Rodney Lorrimar Date: Mon, 31 Aug 2020 23:09:54 +1000 Subject: [PATCH] nix: all windows executables now require libsodium-23.dll --- nix/haskell.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nix/haskell.nix b/nix/haskell.nix index fc45c99f3a5..5987639e546 100644 --- a/nix/haskell.nix +++ b/nix/haskell.nix @@ -127,9 +127,13 @@ let }; - # Make sure that libsodium DLLs and shell completions are available . + # Make sure that libsodium DLLs for all windows executables, + # and add shell completions for main executables. packages.cardano-wallet.components.exes.cardano-wallet.postInstall = optparseCompletionPostInstall + libSodiumPostInstall; - packages.cardano-wallet-jormungandr.components.exes.cardano-wallet-jormungandr.postInstall = optparseCompletionPostInstall; + packages.cardano-wallet-jormungandr.components.exes.cardano-wallet-jormungandr.postInstall = optparseCompletionPostInstall + libSodiumPostInstall; + packages.cardano-wallet-jormungandr.components.tests.unit.postInstall = libSodiumPostInstall; + packages.cardano-wallet-core.components.tests.unit.postInstall = libSodiumPostInstall; + packages.cardano-wallet-cli.components.tests.unit.postInstall = libSodiumPostInstall; } {