diff options
author | Ben Sima <ben@bsima.me> | 2020-03-30 07:53:06 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-03-30 07:56:23 -0700 |
commit | ec671288cb026e8f4f4e2bc946a43bd9278efd2e (patch) | |
tree | 27ffdcd6c240f00d382f398ff8b8719589b33a40 /Com/Simatime | |
parent | 22bbc12e63c5fb4fd57ebd0f7a720dcda050d9ca (diff) |
Add idea about file-based dependencies
More generally, we could extend this to other settings, like 'main-is'
and target architecture to compile for and so on. It would be best to
define the parameters in Nix first, then later inline them to the
code comments after we've worked out the interface.
Diffstat (limited to 'Com/Simatime')
-rwxr-xr-x | Com/Simatime/Bild.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Com/Simatime/Bild.scm b/Com/Simatime/Bild.scm index aa6fa94..6b8c2ea 100755 --- a/Com/Simatime/Bild.scm +++ b/Com/Simatime/Bild.scm @@ -103,7 +103,10 @@ ;; 2 the target.nix could be the build description for target.hs ;; 3 just use a default.nix for the com.whatever ;; 4 have a deps.nix file -;; 5 list them in the file with other settings +;; 5 list them in the file with other settings. Starting with Haskell, +;; have comments like `{-: PACKAGE base <5.0.0.0 :-}' or `-- : PACKAGE base <5.0.0.0'. +;; Other languages could use `#:` for the special prefix, basically just +;; a comment plus colon. ;; - how to handle multiple output formats? ;; - e.g. that ghcjs and ghc take the same input files... ;; - say you have a .md file, you want to bild it to pdf, html, and more. What do? |