diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-10-26 15:56:27 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-11-15 14:15:11 -0500 |
commit | 788602b37ff42f730d4b7b569b0fb51465f147da (patch) | |
tree | 69019928dc9f5a01ee91c7aaec2d3a34c100ec19 /tests/home-services.scm | |
parent | b31ea797edb4f6e8c14e8fe790da1319607c5cb1 (diff) |
shell: Detect --symlink spec problems early.
* guix/scripts/pack.scm (symlink-spec-option-parser): Remove extraneous
char-set. Raise an exception when the target is an absolute file name.
(guix-pack): Move with-error-handler earlier.
* guix/scripts/shell.scm (guix-shell): Likewise.
* guix/scripts/environment.scm (guix-environment): Wrap the whole
guix-environment* call with the with-error-handling handler.
* tests/guix-environment-container.sh: Add tests.
* tests/guix-pack.sh: Adjust symlink spec.
Diffstat (limited to 'tests/home-services.scm')
0 files changed, 0 insertions, 0 deletions