Skip to content

Commit 0d5f026

Browse files
committed
Merge branch 'chore/ddw-1189-new-cardano-wallet-flake' into chore/ddw-1189-new-cardano-wallet--with-flakes
2 parents bda40d9 + b08d041 commit 0d5f026

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

installers/common/MacInstaller.hs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import Config
3232
import RewriteLibs (chain)
3333
import Types
3434
import Util (rewritePackageJson)
35+
import qualified Control.Foldl as Fold
3536

3637
data DarwinConfig = DarwinConfig {
3738
dcAppNameApp :: Text -- ^ Daedalus.app for example
@@ -377,6 +378,10 @@ makeComponentRoot Options{oBackend,oCluster} appRoot darwinConfig@DarwinConfig{d
377378

378379
procs "chmod" ["-R", "+w", tt dir] empty
379380

381+
dylibs <- Turtle.fold (Turtle.find (Turtle.suffix ".dylib") (bridge </> "bin")) Fold.list
382+
forM_ dylibs $ \f ->
383+
cp f (dir </> filename f)
384+
380385
rmtree $ dataDir </> "app/installers"
381386

382387
-- Rewrite libs paths and bundle them

installers/common/WindowsInstaller.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ writeInstallerNSIS outName (Version fullVersion') InstallerConfig{installDirecto
226226
file [] "genesis-alonzo.json"
227227
file [] "libsodium-23.dll"
228228
file [] "libsecp256k1-1.dll"
229+
file [] "libsecp256k1-0.dll"
230+
file [] "libssl-3-x64.dll"
231+
file [] "libcrypto-3-x64.dll"
229232
when (clusterName == Selfnode) $ do
230233
file [] "signing.key"
231234
file [] "delegation.cert"

installers/daedalus-installer.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ library
2929
, unordered-containers
3030
, containers
3131
, directory
32+
, foldl
3233
, github
3334
, lens-aeson
3435
, megaparsec

nix/cardano-bridge.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ runCommandCC "daedalus-cardano-bridge" {
1212
cp ${cardano-wallet}/bin/* .
1313
cp -f ${cardano-address}/bin/cardano-address* .
1414
cp -f ${cardano-shell.haskellPackages.cardano-launcher.components.exes.cardano-launcher}/bin/* .
15-
cp -f ${cardano-node}/bin/cardano-node* .
15+
cp -f ${cardano-node}/bin/* .
1616
cp -f ${cardano-cli}/bin/cardano-cli* .
1717
${lib.optionalString (local-cluster != null) ''
1818

0 commit comments

Comments
 (0)