diff options
author | 宋文武 <iyzsong@gmail.com> | 2016-09-30 20:19:15 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2016-10-01 08:50:48 +0800 |
commit | df0e8a239bfee0fc1f429a133797251238c76969 (patch) | |
tree | f37437e721fb6bb1725ae680a5dfebebedd808eb /gnu/packages | |
parent | ebb9b9a60c424b078f138cc669104233af5eb1eb (diff) | |
download | patches-df0e8a239bfee0fc1f429a133797251238c76969.tar patches-df0e8a239bfee0fc1f429a133797251238c76969.tar.gz |
gnu: shroud: Wrap 'shroud' with 'GUILE_LOAD_COMPILED_PATH'.
* gnu/packages/password-utils.scm (shroud)[arguments]: New field.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/password-utils.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index d2410c6106..30b538d630 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -109,6 +109,17 @@ algorithms AES or Twofish.") (base32 "1y43yhgy2zbrk5bqj3qyx9rkcz2bma9sinlrg7dip3jqms9gq4lr")))) (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-shroud + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (ccachedir (string-append out "/lib/guile/2.0/ccache")) + (prog (string-append out "/bin/shroud"))) + (wrap-program prog + `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,ccachedir))) + #t)))))) (inputs `(("guile" ,guile-2.0) ("gnupg" ,gnupg) |