diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-06-22 23:46:32 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-06-22 23:46:32 +0200 |
commit | f10dcbf1a92c147a2fedba6f774afa6a7013fcdf (patch) | |
tree | e253eba0bbac2ec254d51034eda26fa70d65a872 /tests | |
parent | 3583b27b2cb42ac8c88e7f53df2e3101d5a82ede (diff) | |
download | guix-f10dcbf1a92c147a2fedba6f774afa6a7013fcdf.tar.gz guix-f10dcbf1a92c147a2fedba6f774afa6a7013fcdf.zip |
substitute: Use ~/.cache when invoked by an unprivileged user.
This is a followup to ea0c6e0507a6997f12a4f29d0445b51cf53bd81e.
* guix/scripts/substitute.scm (%narinfo-cache-directory): Use
'cache-directory' when (getuid) returns non-zero.
(cache-narinfo!): Remove 'catch'.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions