diff options
author | Timothy Sample <samplet@ngyro.com> | 2018-08-30 22:08:59 -0400 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-10-01 12:12:08 +0200 |
commit | bb6419f3745911aec87ad79c55bb953b36f246dd (patch) | |
tree | a9c5914ef7732230db2191cd3edb58b7bbb4a352 /guix/build-system/android-ndk.scm | |
parent | f54f04756f6d90c9fb3b5e45f3947329287f9b05 (diff) | |
download | guix-patches-bb6419f3745911aec87ad79c55bb953b36f246dd.tar guix-patches-bb6419f3745911aec87ad79c55bb953b36f246dd.tar.gz |
build-system: haskell: Add #:cabal-revision argument.
Add a #:cabal-revision argument for specifying which Cabal file revision
from Hackage should be used.
* guix/build-system/haskell.scm (source-url->revision-url): New function.
(lower): Accept a cabal-revision keyword argument, convert it to an
origin record, and add it to the resulting bag's host-inputs.
(haskell-build): Pass the cabal-revision input to the builder as an
argument.
* guix/build/haskell-build-system.scm (patch-cabal-file): New phase.
(%standard-phases): Add it.
Diffstat (limited to 'guix/build-system/android-ndk.scm')
0 files changed, 0 insertions, 0 deletions