commit 20d80e2323b565a36751c9455e535d8f73fa32f7 Author: Robert Vollmert Date: Fri Jun 14 16:05:47 2019 +0200 disable reactor diff --git a/elm.cabal b/elm.cabal index c75f9689..ece63c46 100644 --- a/elm.cabal +++ b/elm.cabal @@ -45,9 +45,6 @@ Executable elm builder/src ui/terminal/src - other-extensions: - TemplateHaskell - Main-Is: Main.hs @@ -56,8 +53,6 @@ Executable elm Develop Develop.Generate.Help Develop.Generate.Index - Develop.StaticFiles - Develop.StaticFiles.Build Diff Init Install diff --git a/ui/terminal/src/Develop.hs b/ui/terminal/src/Develop.hs index 4b2252e1..7ed7716e 100644 --- a/ui/terminal/src/Develop.hs +++ b/ui/terminal/src/Develop.hs @@ -23,7 +23,6 @@ import Snap.Util.FileServe import qualified Elm.Project as Project import qualified Develop.Generate.Help as Generate import qualified Develop.Generate.Index as Index -import qualified Develop.StaticFiles as StaticFiles import qualified Generate.Output as Output import qualified Json.Encode as Encode import qualified Reporting.Exit as Exit @@ -219,16 +218,7 @@ compileToHtmlBuilder mode file = serveAssets :: Snap () -serveAssets = - do file <- getSafePath - case StaticFiles.lookup file of - Nothing -> - pass - - Just (content, mimeType) -> - do modifyResponse (setContentType (mimeType <> ";charset=utf-8")) - writeBS content - +serveAssets = pass -- MIME TYPES diff --git a/ui/terminal/src/Main.hs b/terminal/src/Main.hs index 7000f3ca..2c76965a 100644 --- a/ui/terminal/src/Main.hs +++ b/ui/terminal/src/Main.hs @@ -39,7 +39,6 @@ main = complex intro outro [ repl , init - , reactor , make , install , bump ommitter
path: root/gnu/services/configuration.scm
AgeCommit message (Expand)Author
2019-03-10services: configuration: Add '%location'....* gnu/services/configuration.scm (define-configuration): Add '%location'. Oleg Pykhalov
2018-03-03services: messaging: Prosody config supports file-like objects....* doc/guix.texi (Messaging Services): Update accordingly. * gnu/services/configuration.scm (serialize-configuration, serialize-maybe-stem, serialize-package): Return strings or string-valued gexps (these procedures were only used for their side-effects). * gnu/services/messaging.scm (serialize-field, serialize-field-list, enclose-quotes, serialize-raw-content, serialize-ssl-configuration, serialize-virtualhost-configuration-list, serialize-int-component-configuration-list, serialize-ext-component-configuration-list, serialize-virtualhost-configuration, serialize-int-component-configuration, serialize-ext-component-configuration, serialize-prosody-configuration): Return strings or string-valued gexps and stop printing. (prosody-activation): Use SERIALIZE-PROSODY-CONFIGURATION's return value with MIXED-TEXT-FILE instead of using its output with PLAIN-FILE. (serialize-non-negative-integer, serialize-non-negative-integer-list): Convert numbers to strings. (file-object?, serialize-file-object, file-object-list?, serialize-file-object-list): New procedures. (ssl-configuration)[capath, cafile], (prosody-configuration)[plugin-paths, groups-file]: Replace FILE-NAME with FILE-OBJECT. * guix/gexp.scm (file-like?): New exported procedure. Clément Lassieur
2017-11-28services: configuration: Show default values of list types....* doc/guix.texi (Messaging Services): Regenerate it. * gnu/services/configuration.scm (show-default?): Check VAL rather than DEFAULT. * gnu/services/messaging.scm (show-default?): Check VAL rather than DEFAULT. (prosody-configuration)[modules-enabled]: Remove default value from docstring. Clément Lassieur
2017-03-24services: configuration: Rewrite id procedure....* gnu/services/configuration.scm (id): Replace it using the more concise version found in messaging.scm. Signed-off-by: Clément Lassieur <clement@lassieur.org> Mathieu Othacehe
2017-03-24services: Factorize define-maybe macro....* gnu/services/configuration.scm (id): New procedure extracted from define-configuration. (define-maybe): New exported procedure, moved from messaging.scm. * gnu/services/messaging.scm (define-maybe): Remove it. (id): Move declaration inside define-all-configurations which is now the only caller procedure. Signed-off-by: Clément Lassieur <clement@lassieur.org> Mathieu Othacehe
2017-03-12services: Move configuration functions that shouldn't be factorized....* gnu/services/configuration.scm (serialize-field, serialize-string) (serialize-space-separated-string-list, space-separated-string-list?) (serialize-file-name, file-name?, serialize-boolean): Move these functions... * gnu/services/cups.scm: ...to this file. * gnu/services/kerberos.scm: ...to this file. Configuration syntaxes are very specific to services. Some services may have the same configuration syntax, but none of them is common enough to be abstracted in configuration.scm. Signed-off-by: Clément Lassieur <clement@lassieur.org> Clément Lassieur