all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob a91bbd94b87590997ae6e24b014ca2a418ab392f 1979 bytes (raw)
name: gnu/packages/patches/elm-compiler-disable-reactor.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
 
From 6edf6711f08a5c67400f0eb087c9e966aa93b05a Mon Sep 17 00:00:00 2001
From: Robert Vollmert <rob@vllmrt.net>
Date: Sat, 12 Dec 2020 07:24:30 -0800
Subject: [PATCH] disable reactor

---
 elm.cabal               |  5 -----
 terminal/src/Develop.hs | 12 +-----------
 terminal/src/Main.hs    |  1 -
 3 files changed, 1 insertion(+), 17 deletions(-)

diff --git a/elm.cabal b/elm.cabal
index bf1cfcf0..8f7b2bd5 100644
--- a/elm.cabal
+++ b/elm.cabal
@@ -48,9 +48,6 @@ Executable elm
         terminal/impl
         terminal/src
 
-    other-extensions:
-        TemplateHaskell
-
     Main-Is:
         Main.hs
 
@@ -74,8 +71,6 @@ Executable elm
         -- from terminal/
         Develop.Generate.Help
         Develop.Generate.Index
-        Develop.StaticFiles
-        Develop.StaticFiles.Build
 
         -- from builder/
         Build
diff --git a/terminal/src/Develop.hs b/terminal/src/Develop.hs
index 00339364..167de693 100644
--- a/terminal/src/Develop.hs
+++ b/terminal/src/Develop.hs
@@ -25,7 +25,6 @@ import qualified Build
 import qualified Elm.Details as Details
 import qualified Develop.Generate.Help as Help
 import qualified Develop.Generate.Index as Index
-import qualified Develop.StaticFiles as StaticFiles
 import qualified Generate.Html as Html
 import qualified Generate
 import qualified Reporting
@@ -170,16 +169,7 @@ compile path =
 
 
 serveAssets :: Snap ()
-serveAssets =
-  do  path <- getSafePath
-      case StaticFiles.lookup path of
-        Nothing ->
-          pass
-
-        Just (content, mimeType) ->
-          do  modifyResponse (setContentType (mimeType <> ";charset=utf-8"))
-              writeBS content
-
+serveAssets = pass
 
 
 -- MIME TYPES
diff --git a/terminal/src/Main.hs b/terminal/src/Main.hs
index e2d3f408..cd078422 100644
--- a/terminal/src/Main.hs
+++ b/terminal/src/Main.hs
@@ -34,7 +34,6 @@ main =
   Terminal.app intro outro
     [ repl
     , init
-    , reactor
     , make
     , install
     , bump
-- 
2.29.2


debug log:

solving a91bbd94b8 ...
found a91bbd94b8 in https://yhetil.org/guix/57f8b495-226f-5d62-a470-86da3424e14f@ftbfs.org/
found 9871b55e8d in https://git.savannah.gnu.org/cgit/guix.git
preparing index
index prepared:
100644 9871b55e8d9582488f72e8d6ff019c2493737521	gnu/packages/patches/elm-compiler-disable-reactor.patch

applying [1/1] https://yhetil.org/guix/57f8b495-226f-5d62-a470-86da3424e14f@ftbfs.org/
diff --git a/gnu/packages/patches/elm-compiler-disable-reactor.patch b/gnu/packages/patches/elm-compiler-disable-reactor.patch
index 9871b55e8d..a91bbd94b8 100644

1:57: trailing whitespace.
 
1:116: trailing whitespace.
-- 
Checking patch gnu/packages/patches/elm-compiler-disable-reactor.patch...
1:118: new blank line at EOF.
+
Applied patch gnu/packages/patches/elm-compiler-disable-reactor.patch cleanly.
warning: 3 lines add whitespace errors.

index at:
100644 a91bbd94b87590997ae6e24b014ca2a418ab392f	gnu/packages/patches/elm-compiler-disable-reactor.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.