Skip to content

Commit 3257162

Browse files
committed
wb | workbench runner improvements (remove duplicate, group dependencies)
1 parent dc89f80 commit 3257162

File tree

12 files changed

+384
-385
lines changed

12 files changed

+384
-385
lines changed

flake.lock

Lines changed: 8 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
};
1616
};
1717

18-
cardano-mainnet-mirror.url = "github:input-output-hk/cardano-mainnet-mirror/nix";
19-
2018
# Custom user config (default: empty), eg:
2119
# { outputs = {...}: {
2220
# # Customize listening port of node scripts:
@@ -68,7 +66,6 @@
6866

6967
outputs = {
7068
cardano-automation,
71-
cardano-mainnet-mirror,
7269
CHaP,
7370
em,
7471
haskellNix,
@@ -158,7 +155,7 @@
158155

159156
# This is used by `nix develop .` to open a devShell
160157
devShells = let
161-
shell = import ./shell.nix {inherit pkgs customConfig cardano-mainnet-mirror;};
158+
shell = import ./shell.nix {inherit pkgs customConfig;};
162159
in {
163160
inherit (shell) devops workbench-shell;
164161
default = shell.dev;

nix/pkgs.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@ let
1818
, stateDir ? customConfig.localCluster.stateDir
1919
, basePort ? customConfig.localCluster.basePort
2020
, useCabalRun ? customConfig.localCluster.useCabalRun
21-
, workbenchDevMode ? customConfig.localCluster.workbenchDevMode
2221
, batchName ? customConfig.localCluster.batchName
2322
, workbenchStartArgs ? customConfig.localCluster.workbenchStartArgs
2423
, cardano-node-rev ? null
2524
}:
2625
workbench.runner
2726
{ inherit profileName profiling backendName stateDir basePort useCabalRun;
28-
inherit batchName workbenchDevMode workbenchStartArgs cardano-node-rev;
27+
inherit batchName workbenchStartArgs cardano-node-rev;
2928
};
3029

3130
in with final;

0 commit comments

Comments
 (0)