diff options
author | Eduardo Julian | 2021-07-17 22:48:54 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-07-17 22:48:54 -0400 |
commit | 442d1557b879a8a4bd76f441f72a17bfb71cf05f (patch) | |
tree | 7726138a487b3d64081c2cfdf99a564cf2b6ed7b /stdlib/source/program/aedifex/dependency | |
parent | 2c99b4515447315d76a8dc203a2dbcafc09506ea (diff) |
Now allowing compilers to generate custom-named outputs.
Diffstat (limited to 'stdlib/source/program/aedifex/dependency')
-rw-r--r-- | stdlib/source/program/aedifex/dependency/resolution.lux | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/stdlib/source/program/aedifex/dependency/resolution.lux b/stdlib/source/program/aedifex/dependency/resolution.lux index 15a32959b..1e0c522b9 100644 --- a/stdlib/source/program/aedifex/dependency/resolution.lux +++ b/stdlib/source/program/aedifex/dependency/resolution.lux @@ -234,12 +234,14 @@ ///package.dependencies (try\map set.to_list) (try.default (list))) - sub_repositories (|> package - ///package.repositories - (try\map set.to_list) - (try.default (list)) - (list\map new_repository) - (list\compose repositories))] + ## For security reasons, it's not a good idea to allow dependencies to introduce repositories. + ## package_repositories (|> package + ## ///package.repositories + ## (try\map set.to_list) + ## (try.default (list)) + ## (list\map new_repository)) + ## sub_repositories (list\compose repositories package_repositories) + sub_repositories repositories] [successes failures resolution] (recur sub_repositories (#.Cons head successes) failures |