Skip to content

Commit 2e10eed

Browse files
committed
Make default package work.
1 parent a15b4df commit 2e10eed

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.nix/fallback-config.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ with import "${import ./nixpkgs.nix}/lib";
1414

1515
## select an entry to build in the following `bundles` set
1616
## defaults to "default"
17-
default-bundle = "8.18";
17+
default-bundle = "rocq-9.0";
1818

1919
## write one `bundles.name` attribute set per
2020
## alternative configuration, the can be used to

flake.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
forAllSystems (
2323
system:
2424
let
25-
underlying-nix = (import ./default.nix { inherit system src; });
26-
instances = underlying-nix.passthru.setup.instances;
27-
selected-instance = underlying-nix.passthru.setup.selected-instance;
25+
underlyingNix = (import ./default.nix { inherit system src; });
26+
instances = underlyingNix.passthru.setup.instances;
27+
defaultInstance = underlyingNix.passthru.setup.instances.${underlyingNix.passthru.setup.config.default-bundle};
2828
jobsList = mapAttrsToList (
2929
bundleName: instance:
3030
let
@@ -37,9 +37,9 @@
3737
) instances;
3838
in
3939
(foldl mergeAttrs { } jobsList)
40-
# // {
41-
# default = selected-instance.this-pkg;
42-
# }
40+
// {
41+
default = defaultInstance.this-pkg;
42+
}
4343
);
4444
};
4545
templates.default = {

0 commit comments

Comments
 (0)