forked from IntersectMBO/cardano-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
21 lines (21 loc) · 801 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
, autoStartCluster ? defaultCustomConfig.localCluster.autoStartCluster
, workbenchDevMode ? defaultCustomConfig.localCluster.workbenchDevMode
, customConfig ? {
inherit withHoogle;
localCluster = {
inherit autoStartCluster profileName workbenchDevMode;
};
}
}:
with (import ./nix/flake-compat.nix customConfig);
defaultNix // defaultNix.packages.${builtins.currentSystem} // {
private.project = defaultNix.legacyPackages.${builtins.currentSystem};
}