Skip to content

Commit 7d3a50f

Browse files
committed
Merge tag '5.1.1' into merge-5.1.1-into-main
Daedalus 5.1.1 release
2 parents 732e94f + d38a7e3 commit 7d3a50f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+938
-653
lines changed

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Basic set up for three package managers
2+
3+
version: 2
4+
updates:
5+
6+
# Maintain dependencies for npm
7+
- package-ecosystem: "npm"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"
11+
day: "friday"
12+
time: "06:00"
13+
commit-message:
14+
# Prefix all commit messages with "npm"
15+
prefix: "npm"
16+
labels:
17+
- "npm"
18+
- "dependencies"
19+
assignees:
20+
- "danielmain"
21+
target-branch: "dependabot"
22+
versioning-strategy: increase-if-necessary

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## 5.1.1
4+
5+
### Chores
6+
7+
- Increase minimum free space required from 2gb to 4gb ([PR 3071](https://github.com/input-output-hk/daedalus/pull/3071))
8+
- Fixed Language components in Storybook to have it's own mocked store ([PR 3063](https://github.com/input-output-hk/daedalus/pull/3063))
9+
- Updated `cardano-node` configs for Preprod respin ([PR 3070](https://github.com/input-output-hk/daedalus/pull/3070))
10+
- Fixed the properties and providers for the Send stories ([PR 3047](https://github.com/input-output-hk/daedalus/pull/3047))
11+
- Fixed locale in Storybook ([PR 3062](https://github.com/input-output-hk/daedalus/pull/3062))
12+
- Switched from Hydra’s `release.nix` to Cicero’s `flake.nix` ([PR 3060](https://github.com/input-output-hk/daedalus/pull/3060))
13+
314
## 5.1.0
415

516
### Chores

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Daedalus - Cryptocurrency Wallet
3838
trusted-users = root
3939
allowed-users = *
4040
41-
substituters = https://hydra.iohk.io https://cache.nixos.org/
41+
substituters = https://cache.iog.io https://cache.nixos.org/
4242
trusted-substituters =
4343
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
4444
extra-sandbox-paths = /System/Library/Frameworks /System/Library/PrivateFrameworks /usr/lib
@@ -159,15 +159,14 @@ Most of the commands need `nix` and will run only on Linux or macOS.
159159
- `yarn install`
160160
- `yarn dev:windows`
161161

162-
#### Updating upstream dependencies (cardano-wallet, cardano-node, and iohk-nix)
162+
#### Updating upstream dependencies (cardano-wallet, cardano-node)
163163

164164
`Niv` is used to manage the version of upstream dependencies. The versions of these dependencies can be seen in `nix/sources.json`.
165165

166166
Dependencies are updated with the follow nix commands:
167167
- Update cardano-wallet to the latest master: `nix-shell -A devops --arg nivOnly true --run "niv update cardano-wallet"`
168168
- Update cardano-wallet to a specific revision: `nix-shell -A devops --arg nivOnly true --run "niv update cardano-wallet -a rev=91db88f9195de49d4fb4299c68fc3f6de09856ab"`
169169
- Update cardano-node to a specific tag: `nix-shell -A devops --arg nivOnly true --run "niv update cardano-node -b tags/1.20.0"`
170-
- Update iohk-nix to the latest master: `nix-shell -A devops --arg nivOnly true --run "niv update iohk-nix -b master"`
171170

172171
#### Notes
173172

default.nix

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{ target ? builtins.currentSystem
2+
, localLibSystem ? builtins.currentSystem
23
, nodeImplementation ? "cardano"
3-
, localLib ? import ./lib.nix { inherit nodeImplementation; }
4+
, localLib ? import ./lib.nix { inherit nodeImplementation; system = localLibSystem; }
45
, cluster ? "mainnet"
56
, version ? "versionNotSet"
67
, buildNum ? null
@@ -17,7 +18,7 @@
1718

1819
let
1920
systemTable = {
20-
x86_64-windows = builtins.currentSystem;
21+
x86_64-windows = "x86_64-linux"; # Windows can only be cross-built from Linux now
2122
};
2223
crossSystemTable = lib: {
2324
x86_64-windows = lib.systems.examples.mingwW64;
@@ -42,23 +43,21 @@ let
4243
patch -p1 -i ${./nix/cardano-wallet--enable-aarch64-darwin.patch}
4344
'';
4445
};
45-
haskellNix = import sources."haskell.nix" {};
46-
inherit (import haskellNix.sources.nixpkgs-unstable haskellNix.nixpkgsArgs) haskell-nix;
46+
haskell-nix = walletFlake.inputs.haskellNix.legacyPackages.${system}.haskell-nix;
4747
flake-compat = import sources.flake-compat;
48-
walletFlake = flake-compat { src = sources.cardano-wallet; };
49-
walletPackages = with walletFlake.defaultNix.hydraJobs; {
48+
walletFlake = (flake-compat { src = sources.cardano-wallet; }).defaultNix;
49+
walletPackages = with walletFlake.hydraJobs; {
5050
x86_64-windows = linux.windows;
5151
x86_64-linux = linux.native;
5252
x86_64-darwin = macos.intel;
5353
aarch64-darwin = macos.silicon;
5454
}.${target};
55-
walletPkgs = import "${sources.cardano-wallet}/nix" {};
55+
walletPkgs = walletFlake.legacyPackages.${system}.pkgs;
5656
cardanoWorldFlake = (flake-compat { src = sources.cardano-world; }).defaultNix.outputs;
5757
# only used for CLI, to be removed when upgraded to next node version
5858
nodePkgs = import "${sources.cardano-node}/nix" {};
59-
shellPkgs = (import "${sources.cardano-shell}/nix") {};
60-
inherit (pkgs.lib) optionalString optional concatStringsSep;
61-
inherit (pkgs) writeTextFile;
59+
shellPkgs = (import "${sources.cardano-shell}/nix") { inherit system; };
60+
inherit (pkgs.lib) optionalString;
6261
crossSystem = lib: (crossSystemTable lib).${target} or null;
6362
# TODO, nsis can't cross-compile with the nixpkgs daedalus currently uses
6463
nsisNixPkgs = import localLib.sources.nixpkgs-nsis {};
@@ -73,7 +72,7 @@ let
7372

7473
packages = self: {
7574
inherit walletFlake cardanoWorldFlake cluster pkgs version target nodeImplementation;
76-
cardanoLib = localLib.iohkNix.cardanoLib;
75+
cardanoLib = walletPkgs.cardanoLib;
7776
daedalus-bridge = self.bridgeTable.${nodeImplementation};
7877

7978
nodejs = let
@@ -296,7 +295,6 @@ let
296295
297296
mkdir -p $out/{nix-support,cfg-files}
298297
mkdir installers
299-
cp -vir ${./installers/dhall} installers/dhall
300298
cp -vir ${self.windowsIcons} installers/icons
301299
cp -vir ${./package.json} package.json
302300
chmod -R +w installers
@@ -452,7 +450,6 @@ let
452450
}).installerBundle;
453451
wrappedBundle = let
454452
version = (builtins.fromJSON (builtins.readFile ./package.json)).version;
455-
backend = "cardano-wallet-${nodeImplementation}";
456453
suffix = if buildNum == null then "" else "-${toString buildNum}";
457454
fn = "daedalus-${version}-${self.linuxClusterBinName}${suffix}-x86_64-linux.bin";
458455
in pkgs.runCommand fn {} ''

0 commit comments

Comments
 (0)