git.iko.soy/rowtype-yoga/purescript-floating-ui
on main help sign in
105 lines 2.7 kB history raw
1{-
2Welcome to your new Dhall package-set!
4Below are instructions for how to edit this file for most use
5cases, so that you don't need to know Dhall to use it.
7## Use Cases
9Most will want to do one or both of these options:
101. Override/Patch a package's dependency
112. Add a package not already in the default package set
13This file will continue to work whether you use one or both options.
14Instructions for each option are explained below.
16### Overriding/Patching a package
18Purpose:
19- Change a package's dependency to a newer/older release than the
20 default package set's release
21- Use your own modified version of some dependency that may
22 include new API, changed API, removed API by
23 using your custom git repo of the library rather than
24 the package set's repo
26Syntax:
27where `entityName` is one of the following:
28- dependencies
29- repo
30- version
31-------------------------------
32let upstream = --
33in upstream
34 with packageName.entityName = "new value"
35-------------------------------
37Example:
38-------------------------------
39let upstream = --
40in upstream
41 with halogen.version = "master"
42 with halogen.repo = "https://example.com/path/to/git/repo.git"
44 with halogen-vdom.version = "v4.0.0"
45 with halogen-vdom.dependencies = [ "extra-dependency" ] # halogen-vdom.dependencies
46-------------------------------
48### Additions
50Purpose:
51- Add packages that aren't already included in the default package set
53Syntax:
54where `<version>` is:
55- a tag (i.e. "v4.0.0")
56- a branch (i.e. "master")
57- commit hash (i.e. "701f3e44aafb1a6459281714858fadf2c4c2a977")
58-------------------------------
59let upstream = --
60in 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 }
71-------------------------------
73Example:
74-------------------------------
75let upstream = --
76in 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 }
99-------------------------------
100-}
101let upstream =
102 https://github.com/purescript/package-sets/releases/download/psc-0.15.7-20230320/packages.dhall
103 sha256:6f2a4b50b793f304d3a64fd25d631de990de280981c73b0683a090e4fa499f0d
105in upstream