Skip to content

Commit

Permalink
avoid anonymous nixos modules in flake
Browse files Browse the repository at this point in the history
Doing builtins.import will throw away important file information,
that is used in error messages.

Signed-off-by: Jörg Thalheim <[email protected]>
  • Loading branch information
Mic92 authored and brianmcgillion committed Mar 6, 2024
1 parent ee2f882 commit d74b690
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions modules/flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
#
_: {
flake.nixosModules = {
common = import ./common;
desktop = import ./desktop;
host = import ./host;
jetpack = import ./jetpack;
jetpack-microvm = import ./jetpack-microvm;
lanzaboote = import ./lanzaboote;
microvm = import ./microvm;
polarfire = import ./polarfire;
common.imports = [./common];
desktop.imports = [./desktop];
host.imports = [./host];
jetpack.imports = [./jetpack];
jetpack-microvm.imports = [./jetpack-microvm];
lanzaboote.imports = [./lanzaboote];
microvm.imports = [./microvm];
polarfire.imports = [./polarfire];
};
}

0 comments on commit d74b690

Please sign in to comment.