forked from IntersectMBO/cardano-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.nix
More file actions
20 lines (20 loc) · 713 Bytes
/
default.nix
File metadata and controls
20 lines (20 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
let defaultCustomConfig = import ./nix/custom-config.nix defaultCustomConfig;
# This file is used by nix-shell.
# It just takes the shell attribute from default.nix.
in
{
# override scripts with custom configuration
withHoogle ? defaultCustomConfig.withHoogle
, profileName ? defaultCustomConfig.localCluster.profileName
, workbenchDevMode ? defaultCustomConfig.localCluster.workbenchDevMode
, customConfig ? {
inherit withHoogle;
localCluster = {
inherit profileName workbenchDevMode;
};
}
}:
with (import ./nix/flake-compat.nix customConfig);
defaultNix // defaultNix.packages.${builtins.currentSystem} // {
private.project = defaultNix.legacyPackages.${builtins.currentSystem};
}