Skip to content

Commit 2da96b5

Browse files
committed
Merge branch 'develop' into chore/LW-10649-no-nix-chroot
2 parents c30dced + c45ccc8 commit 2da96b5

File tree

18 files changed

+943
-135
lines changed

18 files changed

+943
-135
lines changed

.github/workflows/verify_pr.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,18 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout Repo
9-
uses: actions/checkout@v2
9+
uses: actions/checkout@v4
1010
- name: Setup Node.js
11-
uses: actions/setup-node@v2
11+
uses: actions/setup-node@v4
1212
with:
13-
node-version: "14"
13+
node-version: 18
1414
- name: Restore node_modules from cache
15-
uses: actions/cache@v2
15+
uses: actions/cache@v4
1616
with:
1717
path: '**/node_modules'
1818
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
19+
- name: Install native dependencies
20+
run: sudo apt-get install libudev-dev
1921
- name: Install dependencies
2022
run: yarn --frozen-lockfile
2123
- name: Run checks

Brewfile.netlify

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
brew "libusb"
2+
3+
# libudev.h
4+
brew "systemd"

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
- Fixed installation and running on Ubuntu 24.04 LTS with AppArmor enabled by removing the `chroot` ([PR 3207](https://github.com/input-output-hk/daedalus/pull/3207))
88

9+
### Chores
10+
11+
- Updated `@cardano-foundation/ledgerjs-hw-app-cardano` to version `7.1.3` and `@trezor/connect` to version `9.3.0` ([PR 3093](https://github.com/input-output-hk/daedalus/pull/3215))
12+
913
## 5.4.0
1014

1115
### Fixes

installers/common/MacInstaller.hs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ buildElectronApp darwinConfig@DarwinConfig{dcAppName, dcAppNameApp} installerCon
219219
, "@noble"
220220
, "@protobufjs"
221221
, "@trezor"
222+
, "@sinclair"
222223
, "agent-base"
223224
, "babel-runtime"
224225
, "base-x"
@@ -307,13 +308,17 @@ buildElectronApp darwinConfig@DarwinConfig{dcAppName, dcAppNameApp} installerCon
307308
, "socks-proxy-agent"
308309
, "tiny-inflate"
309310
, "tiny-secp256k1"
311+
, "tr46"
310312
, "tslib"
313+
, "ts-mixer"
311314
, "typeforce"
312315
, "unicode-properties"
313316
, "unicode-trie"
317+
, "usb"
314318
, "usb-detection"
315319
, "util-deprecate"
316320
, "varuint-bitcoin"
321+
, "whatwg-url"
317322
, "wif"
318323
]
319324
mapM_ (\lib -> do

netlify.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
[build]
2-
environment = { YARN_VERSION = "1.22.4", NODE_VERSION = "14.19.1" }
3-
command = "yarn && yarn storybook:build"
2+
command = "yarn && yarn storybook:build"
3+
4+
[build.environment]
5+
YARN_VERSION = "1.22.19"
6+
NODE_VERSION = "18.12.1"
7+
CXXFLAGS = "-I/home/linuxbrew/.linuxbrew/include"
8+
LDFLAGS = "-L/home/linuxbrew/.linuxbrew/lib"

nix/devshells.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ let
4747
darwin.apple_sdk.frameworks.AppKit
4848
darwin.cctools
4949
xcbuild
50+
perl
5051
] else [
5152
internal.relocatableElectron
5253
winePackages.minimal

nix/internal/any-darwin.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ in rec {
6262
name = "daedalus-node_modules";
6363
src = srcLockfiles;
6464
nativeBuildInputs = [ yarn nodejs ]
65-
++ (with pkgs; [ python3 pkgconfig jq darwin.cctools xcbuild ]);
65+
++ (with pkgs; [ python3 perl pkgconfig jq darwin.cctools xcbuild ]);
6666
buildInputs = (with pkgs.darwin; [
6767
apple_sdk.frameworks.CoreServices
6868
apple_sdk.frameworks.AppKit
@@ -80,6 +80,8 @@ in rec {
8080
8181
patchShebangs . >/dev/null # a real lot of paths to patch, no need to litter logs
8282
83+
${builtins.path { path = inputs.self + "/scripts/darwin-no-x-compile.sh"; }}
84+
8385
# And now, with correct shebangs, run the install scripts (we have to do that
8486
# semi-manually, because another `yarn install` will overwrite those shebangs…):
8587
find node_modules -type f -name 'package.json' | sort | xargs grep -F '"install":' | cut -d: -f1 | while IFS= read -r dependency ; do
@@ -111,7 +113,7 @@ in rec {
111113
name = pname;
112114
src = srcWithoutNix;
113115
nativeBuildInputs = [ yarn nodejs daedalus-installer ]
114-
++ (with pkgs; [ python3 pkgconfig darwin.cctools xcbuild ]);
116+
++ (with pkgs; [ python3 perl pkgconfig darwin.cctools xcbuild ]);
115117
buildInputs = (with pkgs.darwin; [
116118
apple_sdk.frameworks.CoreServices
117119
apple_sdk.frameworks.AppKit

nix/internal/x86_64-linux.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ in rec {
143143
ln -sv $out/share/daedalus/renderer/assets $out/share/fonts/daedalus
144144
145145
mkdir -pv $out/share/daedalus/node_modules
146-
cp -r node_modules/{\@babel,\@noble,\@protobufjs,regenerator-runtime,node-fetch,\@trezor,randombytes,safe-buffer,bip66,pushdata-bitcoin,bitcoin-ops,typeforce,varuint-bitcoin,create-hash,blake2b,blakejs,nanoassert,blake2b-wasm,bs58check,bs58,base-x,create-hmac,wif,ms,semver-compare,long,define-properties,object-keys,has,function-bind,es-abstract,has-symbols,json-stable-stringify,cashaddrjs,big-integer,inherits,bchaddrjs,cross-fetch,js-chain-libs-node,bignumber.js,call-bind,get-intrinsic,base64-js,ieee754,util-deprecate,bech32,blake-hash,tiny-secp256k1,bn.js,elliptic,minimalistic-assert,minimalistic-crypto-utils,brorand,hash.js,hmac-drbg,int64-buffer,object.values,bytebuffer,protobufjs,usb-detection,babel-runtime,bindings,brotli,clone,deep-equal,dfa,eventemitter2,file-uri-to-path,fontkit,functions-have-names,has-property-descriptors,has-tostringtag,is-arguments,is-date-object,is-regex,linebreak,node-hid,object-is,pdfkit,png-js,regexp.prototype.flags,restructure,tiny-inflate,unicode-properties,unicode-trie,socks,socks-proxy-agent,ip,smart-buffer,ripple-lib,lodash,jsonschema,ripple-address-codec,ripple-keypairs,ripple-lib-transactionparser,ripple-binary-codec,buffer,decimal.js,debug,agent-base,tslib} $out/share/daedalus/node_modules/
146+
cp -r node_modules/{\@babel,\@noble,\@protobufjs,regenerator-runtime,node-fetch,\@sinclair,\@trezor,randombytes,safe-buffer,bip66,pushdata-bitcoin,bitcoin-ops,typeforce,varuint-bitcoin,create-hash,blake2b,blakejs,nanoassert,blake2b-wasm,bs58check,bs58,base-x,create-hmac,wif,ms,semver-compare,long,define-properties,object-keys,has,function-bind,es-abstract,has-symbols,json-stable-stringify,cashaddrjs,big-integer,inherits,bchaddrjs,cross-fetch,js-chain-libs-node,bignumber.js,call-bind,get-intrinsic,base64-js,ieee754,util-deprecate,bech32,blake-hash,tiny-secp256k1,bn.js,elliptic,minimalistic-assert,minimalistic-crypto-utils,brorand,hash.js,hmac-drbg,int64-buffer,object.values,bytebuffer,protobufjs,usb-detection,babel-runtime,bindings,brotli,clone,deep-equal,dfa,eventemitter2,file-uri-to-path,fontkit,functions-have-names,has-property-descriptors,has-tostringtag,is-arguments,is-date-object,is-regex,linebreak,node-hid,object-is,pdfkit,png-js,regexp.prototype.flags,restructure,tiny-inflate,unicode-properties,unicode-trie,socks,socks-proxy-agent,ip,smart-buffer,ripple-lib,lodash,jsonschema,ripple-address-codec,ripple-keypairs,ripple-lib-transactionparser,ripple-binary-codec,buffer,decimal.js,debug,agent-base,tslib,tr46,ts-mixer,usb,whatwg-url} $out/share/daedalus/node_modules/
147147
148148
chmod -R +w $out
149149

nix/internal/x86_64-windows.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ in rec {
110110
rm -rf $out/resources/app/{installers,launcher-config.yaml,gulpfile.js,home}
111111
112112
mkdir -pv $out/resources/app/node_modules
113-
cp -r node_modules/{\@babel,\@noble,\@protobufjs,regenerator-runtime,node-fetch,\@trezor,randombytes,safe-buffer,bip66,pushdata-bitcoin,bitcoin-ops,typeforce,varuint-bitcoin,create-hash,blake2b,blakejs,nanoassert,blake2b-wasm,bs58check,bs58,base-x,create-hmac,wif,ms,semver-compare,long,define-properties,object-keys,has,function-bind,es-abstract,has-symbols,json-stable-stringify,cashaddrjs,big-integer,inherits,bchaddrjs,cross-fetch,js-chain-libs-node,bignumber.js,call-bind,get-intrinsic,base64-js,ieee754,util-deprecate,bech32,blake-hash,tiny-secp256k1,bn.js,elliptic,minimalistic-assert,minimalistic-crypto-utils,brorand,hash.js,hmac-drbg,int64-buffer,object.values,bytebuffer,protobufjs,usb-detection,babel-runtime,bindings,brotli,clone,deep-equal,dfa,eventemitter2,file-uri-to-path,fontkit,functions-have-names,has-property-descriptors,has-tostringtag,is-arguments,is-date-object,is-regex,linebreak,node-hid,object-is,pdfkit,png-js,regexp.prototype.flags,restructure,tiny-inflate,unicode-properties,unicode-trie,socks,socks-proxy-agent,ip,smart-buffer,ripple-lib,lodash,jsonschema,ripple-address-codec,ripple-keypairs,ripple-lib-transactionparser,ripple-binary-codec,buffer,decimal.js,debug,agent-base,tslib} $out/resources/app/node_modules
113+
cp -r node_modules/{\@babel,\@noble,\@protobufjs,regenerator-runtime,node-fetch,\@sinclair,\@trezor,randombytes,safe-buffer,bip66,pushdata-bitcoin,bitcoin-ops,typeforce,varuint-bitcoin,create-hash,blake2b,blakejs,nanoassert,blake2b-wasm,bs58check,bs58,base-x,create-hmac,wif,ms,semver-compare,long,define-properties,object-keys,has,function-bind,es-abstract,has-symbols,json-stable-stringify,cashaddrjs,big-integer,inherits,bchaddrjs,cross-fetch,js-chain-libs-node,bignumber.js,call-bind,get-intrinsic,base64-js,ieee754,util-deprecate,bech32,blake-hash,tiny-secp256k1,bn.js,elliptic,minimalistic-assert,minimalistic-crypto-utils,brorand,hash.js,hmac-drbg,int64-buffer,object.values,bytebuffer,protobufjs,usb-detection,babel-runtime,bindings,brotli,clone,deep-equal,dfa,eventemitter2,file-uri-to-path,fontkit,functions-have-names,has-property-descriptors,has-tostringtag,is-arguments,is-date-object,is-regex,linebreak,node-hid,object-is,pdfkit,png-js,regexp.prototype.flags,restructure,tiny-inflate,unicode-properties,unicode-trie,socks,socks-proxy-agent,ip,smart-buffer,ripple-lib,lodash,jsonschema,ripple-address-codec,ripple-keypairs,ripple-lib-transactionparser,ripple-binary-codec,buffer,decimal.js,debug,agent-base,tslib,tr46,ts-mixer,usb,whatwg-url} $out/resources/app/node_modules
114114
115115
chmod -R +w $out
116116

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
"timemachine": "0.3.2",
185185
"transform-loader": "0.2.4",
186186
"typed-scss-modules": "5.0.0",
187-
"typescript": "4.6.2",
187+
"typescript": "4.9.5",
188188
"utf-8-validate": "5.0.2",
189189
"wait-on": "6.0.1",
190190
"webdriverio": "5.18.7",
@@ -196,10 +196,10 @@
196196
"yarn-lockfile": "1.1.1"
197197
},
198198
"dependencies": {
199-
"@cardano-foundation/ledgerjs-hw-app-cardano": "6.0.0",
199+
"@cardano-foundation/ledgerjs-hw-app-cardano": "7.1.3",
200200
"@iohk-jormungandr/wallet-js": "0.5.0-pre7",
201201
"@ledgerhq/hw-transport-node-hid": "6.27.15",
202-
"@trezor/connect": "9.0.8",
202+
"@trezor/connect": "9.3.0",
203203
"@trezor/transport": "1.1.12",
204204
"aes-js": "3.1.2",
205205
"bech32": "2.0.0",

0 commit comments

Comments
 (0)