Skip to content
Snippets Groups Projects
Commit 389de55c authored by Daniel Firth's avatar Daniel Firth
Browse files

add callCHaP let binding

parent 106442b5
No related merge requests found
......@@ -8,6 +8,14 @@ let callRepository
λ(subdir : H.Subdir) →
H.callGit name repo revision (Some subdir)
let callCHaP
: H.Name → H.Version → H.Attr H.HaskellPackage.Type
= λ(name : H.Name) →
λ(version : H.Version) →
H.callTarball
name
"https://input-output-hk.github.io/cardano-haskell-packages/package/${name}-${version}.tar.gz"
let callCardanoBase
: H.Name → H.Subdir → H.Attr H.HaskellPackage.Type
= callRepository
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment