@@ -4,13 +4,6 @@ Welcome to your new Dhall package-set!
4
4
Below are instructions for how to edit this file for most use
5
5
cases, so that you don't need to know Dhall to use it.
6
6
7
- ## Warning: Don't Move This Top-Level Comment!
8
-
9
- Due to how `dhall format` currently works, this comment's
10
- instructions cannot appear near corresponding sections below
11
- because `dhall format` will delete the comment. However,
12
- it will not delete a top-level comment like this one.
13
-
14
7
## Use Cases
15
8
16
9
Most will want to do one or both of these options:
@@ -31,28 +24,25 @@ Purpose:
31
24
the package set's repo
32
25
33
26
Syntax:
34
- Replace the overrides' "{=}" (an empty record) with the following idea
35
- The "//" or "⫽" means "merge these two records and
36
- when they have the same value, use the one on the right:"
27
+ where `entityName` is one of the following:
28
+ - dependencies
29
+ - repo
30
+ - version
37
31
-------------------------------
38
- let override =
39
- { packageName =
40
- upstream.packageName // { updateEntity1 = "new value", updateEntity2 = "new value" }
41
- , packageName =
42
- upstream.packageName // { version = "v4.0.0" }
43
- , packageName =
44
- upstream.packageName // { repo = "https://www.example.com/path/to/new/repo.git" }
45
- }
32
+ let upstream = --
33
+ in upstream
34
+ with packageName.entityName = "new value"
46
35
-------------------------------
47
36
48
37
Example:
49
38
-------------------------------
50
- let overrides =
51
- { halogen =
52
- upstream.halogen // { version = "master" }
53
- , halogen-vdom =
54
- upstream.halogen-vdom // { version = "v4.0.0" }
55
- }
39
+ let upstream = --
40
+ in upstream
41
+ with halogen.version = "master"
42
+ with halogen.repo = "https://example.com/path/to/git/repo.git"
43
+
44
+ with halogen-vdom.version = "v4.0.0"
45
+ with halogen-vdom.dependencies = [ "extra-dependency" ] # halogen-vdom.dependencies
56
46
-------------------------------
57
47
58
48
### Additions
@@ -61,61 +51,107 @@ Purpose:
61
51
- Add packages that aren't already included in the default package set
62
52
63
53
Syntax:
64
- Replace the additions' "{=}" (an empty record) with the following idea:
54
+ where `<version>` is:
55
+ - a tag (i.e. "v4.0.0")
56
+ - a branch (i.e. "master")
57
+ - commit hash (i.e. "701f3e44aafb1a6459281714858fadf2c4c2a977")
65
58
-------------------------------
66
- let additions =
67
- { "package-name" =
68
- mkPackage
69
- [ "dependency1"
70
- , "dependency2"
71
- ]
72
- "https://example.com/path/to/git/repo.git"
73
- "tag ('v4.0.0') or branch ('master')"
74
- , "package-name" =
75
- mkPackage
76
- [ "dependency1"
77
- , "dependency2"
78
- ]
79
- "https://example.com/path/to/git/repo.git"
80
- "tag ('v4.0.0') or branch ('master')"
81
- , etc.
82
- }
59
+ let upstream = --
60
+ in upstream
61
+ with new-package-name =
62
+ { dependencies =
63
+ [ "dependency1"
64
+ , "dependency2"
65
+ ]
66
+ , repo =
67
+ "https://example.com/path/to/git/repo.git"
68
+ , version =
69
+ "<version>"
70
+ }
83
71
-------------------------------
84
72
85
73
Example:
86
74
-------------------------------
87
- let additions =
88
- { benchotron =
89
- mkPackage
90
- [ "arrays"
91
- , "exists"
92
- , "profunctor"
93
- , "strings"
94
- , "quickcheck"
95
- , "lcg"
96
- , "transformers"
97
- , "foldable-traversable"
98
- , "exceptions"
99
- , "node-fs"
100
- , "node-buffer"
101
- , "node-readline"
102
- , "datetime"
103
- , "now"
104
- ]
105
- "https://github.com/hdgarrood/purescript-benchotron.git"
106
- "v7.0.0"
107
- }
75
+ let upstream = --
76
+ in upstream
77
+ with benchotron =
78
+ { dependencies =
79
+ [ "arrays"
80
+ , "exists"
81
+ , "profunctor"
82
+ , "strings"
83
+ , "quickcheck"
84
+ , "lcg"
85
+ , "transformers"
86
+ , "foldable-traversable"
87
+ , "exceptions"
88
+ , "node-fs"
89
+ , "node-buffer"
90
+ , "node-readline"
91
+ , "datetime"
92
+ , "now"
93
+ ]
94
+ , repo =
95
+ "https://github.com/hdgarrood/purescript-benchotron.git"
96
+ , version =
97
+ "v7.0.0"
98
+ }
108
99
-------------------------------
109
100
-}
110
-
111
- let mkPackage =
112
- https:// raw. githubusercontent. com/ purescript/ package- sets/ psc- 0.12 . 3 - 20190330 / src/ mkPackage. dhall sha256: 0b1 97 efa1d397ace6eb46b243ff2d73a3da5638d8d0ac8473e8e4a8fc528cf57
113
-
114
101
let upstream =
115
- https:// github. com/ purescript/ package- sets/ releases/ download/ psc- 0.14 . 3 - 20210722 / packages. dhall sha256: 1 ceb43aa59436bf5601bac45f6f3781c4e1f0e4c2b8458105b018e5ed8c30f8c
116
-
117
- let overrides = {= }
118
-
119
- let additions = {= }
102
+ https:// github. com/ purescript/ package- sets/ releases/ download/ psc- 0.15 . 4 - 20221114 / packages. dhall
103
+ sha256: 408417e1565850 b0d5eae0d3ad9e11757202a1b44bb86c1ec2d595e4fef58141
104
+
105
+ in upstream
106
+ with concur- core =
107
+ { dependencies =
108
+ [ " aff"
109
+ , " aff-bus"
110
+ , " arrays"
111
+ , " avar"
112
+ , " console"
113
+ , " control"
114
+ , " datetime"
115
+ , " effect"
116
+ , " either"
117
+ , " exceptions"
118
+ , " foldable-traversable"
119
+ , " free"
120
+ , " identity"
121
+ , " lazy"
122
+ , " maybe"
123
+ , " newtype"
124
+ , " parallel"
125
+ , " prelude"
126
+ , " profunctor-lenses"
127
+ , " tailrec"
128
+ , " transformers"
129
+ , " tuples"
130
+ ]
131
+ , repo = " https://github.com/purescript-concur/purescript-concur-core"
132
+ , version = " master"
133
+ }
134
+ with concur- react =
135
+ { dependencies =
136
+ [ " aff"
137
+ , " arrays"
138
+ , " concur-core"
139
+ , " console"
140
+ , " effect"
141
+ , " either"
142
+ , " exceptions"
143
+ , " maybe"
144
+ , " prelude"
145
+ , " react"
146
+ , " react-dom"
147
+ , " transformers"
148
+ , " tuples"
149
+ , " unsafe-coerce"
150
+ , " web-dom"
151
+ , " web-events"
152
+ , " web-html"
153
+ ]
154
+ , repo = " https://github.com/purescript-concur/purescript-concur-react"
155
+ , version = " master"
156
+ }
120
157
121
- in upstream // overrides // additions
0 commit comments