Skip to content

Commit d6a9cb1

Browse files
authored
Merge branch 'develop' into chore/ddw-1151-cicero-instead-of-hydra
2 parents 1b51323 + dda310c commit d6a9cb1

38 files changed

+54
-433
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Chores
66

7+
- Fixed locale in Storybook ([PR 3062](https://github.com/input-output-hk/daedalus/pull/3062))
78
- Switched from Hydra’s `release.nix` to Cicero’s `flake.nix` ([PR 3060](https://github.com/input-output-hk/daedalus/pull/3060))
89

910
## 5.1.0

default.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ let
5858
nodePkgs = import "${sources.cardano-node}/nix" {};
5959
shellPkgs = (import "${sources.cardano-shell}/nix") { inherit system; };
6060
inherit (pkgs.lib) optionalString optional concatStringsSep;
61-
inherit (pkgs) writeTextFile;
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 {};
@@ -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 {} ''

installers/README.md

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,41 +4,6 @@ This folder provides a way to create Daedalus installers for OSX/Linux/Windows.
44

55
Best way to see how to build an installer is to reproduce `../.buildkite/pipeline.yml`
66

7-
## Generation of runtime configuration files
8-
9-
The run-time configuration files of the Daedalus wallet are generated during the
10-
installer build, and are governed by configuration files written in the Dhall
11-
configuration language, which are factored per OS and target cluster:
12-
13-
- https://github.com/input-output-hk/daedalus/tree/develop/installers/dhall
14-
15-
The Dhall expressions that comprise the runtime configuration are thus composed from:
16-
- `launcher.dhall` -- top level expression defining the launcher configuration YAML file
17-
- `topology.dhall` -- top level expression defining the wallet topology YAML file
18-
- `{linux64,macos64,win64}.dhall`
19-
- `{mainnet,staging,testnet}.dhall`
20-
21-
The set of clusters (currently `mainnet` and `staging`) that the build scripts
22-
(`scripts/build-installer-*`) will build installers for is enumerated in
23-
https://github.com/input-output-hk/daedalus/blob/develop/installer-clusters.cfg
24-
25-
### Validating the Dhall configuration files
26-
27-
The entire set of configuration files can be validated by typechecking all
28-
possible combinations:
29-
30-
$ cd installers
31-
$ ghci Config.hs
32-
GHCi, version 8.0.2: http://www.haskell.org/ghc/ :? for help
33-
Loaded GHCi configuration from /home/deepfire/.ghci
34-
[1 of 2] Compiling Types ( Types.hs, interpreted )
35-
[2 of 2] Compiling Config ( Config.hs, interpreted )
36-
Ok, modules loaded: Config, Types.
37-
*Config> generateAllConfigs "./dhall"
38-
39-
..which will be silent if everything is well, and will otherwise provide
40-
a detailed explanation of what is wrong, and where.
41-
427
## Certificate import on MacOS X
438

449
Before signing the Mac installer, the keychain needs to be set up. Do this by running:

installers/Spec.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ makeTestInstallersDir = do
7777
liftIO $ writeTextFile (src </> "package.json") "{ \"version\": \"0.4.2\" }"
7878
let installersDir = src </> "installers"
7979
mkdir installersDir
80-
cptree "dhall" (installersDir </> "dhall")
8180
mktree (installersDir </> "data/scripts")
8281
liftIO $ writeTextFile (installersDir </> "data/scripts/dockutil") "fake dock util"
8382
pure installersDir

installers/common/Config.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,5 @@ backendOptionParser = cardano
9999
cardano = Cardano <$> optPath "cardano" 'S' "Use Cardano backend with given Daedalus bridge path"
100100

101101
-- | Render a FilePath with POSIX-style forward slashes, which is the
102-
-- Dhall syntax.
103102
dfp :: Format r (FilePath -> r)
104103
dfp = makeFormat (\fpath -> either id id (FP.toText FP.posix fpath))

installers/dhall-haskell.nix

Lines changed: 0 additions & 39 deletions
This file was deleted.

installers/dhall-json.nix

Lines changed: 0 additions & 23 deletions
This file was deleted.

installers/dhall/cluster.type

Lines changed: 0 additions & 9 deletions
This file was deleted.

installers/dhall/demo.dhall

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)