summary refs log tree commit diff
path: root/tests/monads.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-05-26 23:38:27 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-26 23:38:27 +0200
commit07eaecfae1add0b1b0d78047c0ac7b1229592dcb (patch)
tree4711ffccab377d9f015d747cdd61f5b71882f152 /tests/monads.scm
parent41766807d042023b1f807cc40e9fd09fc3682a4e (diff)
downloadguix-07eaecfae1add0b1b0d78047c0ac7b1229592dcb.tar.gz
profiles: Hooks always return a monadic value.
Suggested by 宋文武 <iyzsong@gmail.com>.

* guix/profiles.scm (ghc-package-cache-file): Return a monadic #f, not just
  #f, when MANIFEST contains no GHC package.
  (profile-derivation): Do not filter based on the return value of HOOK;
  instead filter based on the value of items in EXTRAS.
Diffstat (limited to 'tests/monads.scm')
0 files changed, 0 insertions, 0 deletions