Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -181,28 +181,37 @@ let

haveGlibcLocales = pkgs.glibcLocales != null && stdenv.hostPlatform.libc == "glibc";

workbench = import ./nix/workbench/default.nix
{ inherit pkgs; haskellProject = project; }
;

workbench-shell =
with customConfig.localCluster;
import ./nix/workbench/shell.nix
{ inherit pkgs lib haskellLib project;
inherit setLocale haveGlibcLocales;
inherit workbenchDevMode;
inherit withHoogle;
workbench-runner = pkgs.workbench-runner
workbench-runner = workbench.runner
{ inherit profiling;
inherit profileName backendName useCabalRun;
inherit profileName backendName;
inherit useCabalRun;
inherit workbenchStartArgs cardano-node-rev;
inherit (customConfig.localCluster) stateDir basePort batchName;
};
};

devops =
let profileName = "devops-bage";
workbench-runner = pkgs.workbench-runner
workbench-runner = workbench.runner
{ inherit profiling;
inherit profileName;
backendName = "supervisor";
useCabalRun = false;
inherit workbenchStartArgs cardano-node-rev;
inherit (customConfig.localCluster) stateDir basePort batchName;
};
devopsShell = with customConfig.localCluster;
devopsShell =
import ./nix/workbench/shell.nix
{ inherit pkgs lib haskellLib project;
inherit setLocale haveGlibcLocales;
Expand Down
Loading