Skip to content

Commit

Permalink
imp: soc of eval, modules & options
Browse files Browse the repository at this point in the history
- the reason for this change is to have more transparent separation
  of concern between effectuations of the module system and pre-module
  system effectuations

- with improved flakes support down the line, pre-module system
  effectuations will get more complex

- this also allows to patch the aspects of the evaluation individually
  while tracking other components from upstream. eg. path options & eval
  but not modules
  • Loading branch information
blaggacao authored and zhaofengli committed May 22, 2022
1 parent ea4f2ba commit 9bd5e7b
Show file tree
Hide file tree
Showing 5 changed files with 429 additions and 398 deletions.
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@

outputs = { self, nixpkgs, utils, ... }: let
supportedSystems = [ "x86_64-linux" "i686-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
colmenaOptions = import ./src/nix/hive/options.nix;
colmenaModules = import ./src/nix/hive/modules.nix;
evalNix = import ./src/nix/hive/eval.nix {
hermetic = true;
inherit colmenaOptions colmenaModules;
};
in utils.lib.eachSystem supportedSystems (system: let
pkgs = import nixpkgs {
Expand Down
Loading

0 comments on commit 9bd5e7b

Please sign in to comment.