Skip to content

Commit

Permalink
flake.nix: Improve nixosModules.notDetected error location reporting
Browse files Browse the repository at this point in the history
This is mostly equivalent, but `import` was hiding the location
from the module system, breaking error location reporting and
breaking `disabledModules` support for this module (unlikely).
  • Loading branch information
roberth committed Oct 6, 2022
1 parent 27a89ba commit 33c8c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
legacyPackages = forAllSystems (system: import ./. { inherit system; });

nixosModules = {
notDetected = import ./nixos/modules/installer/scan/not-detected.nix;
notDetected = ./nixos/modules/installer/scan/not-detected.nix;
};
};
}

0 comments on commit 33c8c0f

Please sign in to comment.