summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-10-06 16:52:38 +0200
committerRobert Hensing <robert@roberthensing.nl>2022-10-06 16:55:11 +0200
commit33c8c0fb00c5a5ca6a13cd0e61c43175ad73d21d (patch)
tree1621109e6ea43ae1b462a528be6adc579a6ed2c5 /flake.nix
parent27a89ba43b0fb735ce867e8ab3d2442f8cc61dad (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.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 67ecfc6eb0841..3cac2798d35f1 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;
       };
     };
 }