mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-24 23:14:12 +03:00
fix: externalDir not copied to store
This commit is contained in:
parent
958bdd6699
commit
e075f98a90
@ -27,7 +27,7 @@
|
||||
externalSources ?
|
||||
lib.genAttrs
|
||||
(lib.attrNames (builtins.readDir externalDir))
|
||||
(inputName: "${externalDir}/${inputName}"),
|
||||
(inputName: "${/. + externalDir}/${inputName}"),
|
||||
|
||||
# will be defined if called via flake
|
||||
externalPaths ? null,
|
||||
@ -41,7 +41,7 @@
|
||||
})
|
||||
# if called via CLI, load externals via env
|
||||
else if builtins ? getEnv && builtins.getEnv "d2nExternalDir" != "" then
|
||||
builtins.getEnv "d2nExternalDir"
|
||||
/. + (builtins.getEnv "d2nExternalDir")
|
||||
# load from default directory
|
||||
else
|
||||
./external,
|
||||
|
Loading…
Reference in New Issue
Block a user