mirror of
https://github.com/nix-community/flakelight.git
synced 2025-02-16 17:30:57 +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' =
|
root' =
|
||||||
let
|
let
|
||||||
appliedRoot = applyNonSysArgs root;
|
appliedRoot = applyNonSysArgs root;
|
||||||
nixDir = appliedRoot.nixDir or
|
nixDir = appliedRoot.nixDir or (src + /nix);
|
||||||
(if pathExists (src + /nix) then src + /nix else src);
|
|
||||||
fullRoot = (autoImportAttrs nixDir rootAttrs attrAliases)
|
fullRoot = (autoImportAttrs nixDir rootAttrs attrAliases)
|
||||||
// appliedRoot;
|
// appliedRoot;
|
||||||
in
|
in
|
||||||
|
Loading…
Reference in New Issue
Block a user