diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-10-06 16:52:38 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-10-06 16:55:11 +0200 |
commit | 33c8c0fb00c5a5ca6a13cd0e61c43175ad73d21d (patch) | |
tree | 1621109e6ea43ae1b462a528be6adc579a6ed2c5 /flake.nix | |
parent | 27a89ba43b0fb735ce867e8ab3d2442f8cc61dad (diff) |
flake.nix: Improve nixosModules.notDetected error location reporting
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).
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix index 67ecfc6eb084..3cac2798d35f 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }; }; } |