aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/compositor/export.lux
diff options
context:
space:
mode:
authorEduardo Julian2020-05-29 00:19:24 -0400
committerEduardo Julian2020-05-29 00:19:24 -0400
commit6eaa3b57f3f1ea2ce13b942bdb4ef502fc1729bc (patch)
tree746eb35ad0e8d10d3a6587bf0f6b3c5d867f7899 /stdlib/source/program/compositor/export.lux
parentfcb1dcee2a4d502b41852a4c8e26b53ae7b2041e (diff)
Can now import previously exported libraries.
Diffstat (limited to 'stdlib/source/program/compositor/export.lux')
-rw-r--r--stdlib/source/program/compositor/export.lux6
1 files changed, 4 insertions, 2 deletions
diff --git a/stdlib/source/program/compositor/export.lux b/stdlib/source/program/compositor/export.lux
index 6e364800f..f6a78ed78 100644
--- a/stdlib/source/program/compositor/export.lux
+++ b/stdlib/source/program/compositor/export.lux
@@ -9,7 +9,7 @@
[security
["!" capability]]]
[data
- [text
+ ["." text
["%" format (#+ format)]]
[collection
["." dictionary]
@@ -48,7 +48,9 @@
(monad.map try.monad
(function (_ [path source-code])
(do try.monad
- [path (tar.path path)
+ [path (|> path
+ (text.replace-all (:: system separator) .module-separator)
+ tar.path)
source-code (tar.content source-code)]
(wrap (#tar.Normal [path
(instant.from-millis +0)