mirror of
https://github.com/nix-community/flakelight.git
synced 2024-11-22 07:23:11 +01:00
Remove automatic use of ./. as nixDir
Using ./. as nixDir can cause confusion on repos with unrelated directories that get picked up inadvertently.
This commit is contained in:
parent
af3e7f7a6f
commit
412add2d01
@ -373,8 +373,7 @@ let
|
||||
root' =
|
||||
let
|
||||
appliedRoot = applyNonSysArgs root;
|
||||
nixDir = appliedRoot.nixDir or
|
||||
(if pathExists (src + /nix) then src + /nix else src);
|
||||
nixDir = appliedRoot.nixDir or (src + /nix);
|
||||
fullRoot = (autoImportAttrs nixDir rootAttrs attrAliases)
|
||||
// appliedRoot;
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user