From ae9e328800210bee6b5c04e5d80007d70bfadd75 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 13 Jan 2013 23:47:37 +0100 Subject: guix-package: Fix check for ~/.guix-profile existence. * guix-package.in (guix-package): When testing whether %USER-ENVIRONMENT-DIRECTORY exists, use `lstat' instead of `file-exists?'. Reported by Andreas Enge. --- guix-package.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'guix-package.in') diff --git a/guix-package.in b/guix-package.in index 450d09e081..3b8615cb72 100644 --- a/guix-package.in +++ b/guix-package.in @@ -462,7 +462,8 @@ Install, remove, or upgrade PACKAGES in a single transaction.\n")) ;; Create ~/.guix-profile if it doesn't exist yet. (when (and %user-environment-directory %current-profile - (not (file-exists? %user-environment-directory))) + (not (false-if-exception + (lstat %user-environment-directory)))) (symlink %current-profile %user-environment-directory)) (with-error-handling -- cgit v1.2.3 t'>
aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests/virtualization.scm
AgeCommit message (Expand)Author
2024-02-10services: Add ‘virtual-build-machine’ service.Ludovic Courtès
2024-01-08tests: childhurd: Increase SSH connection timeout.Ludovic Courtès
2023-12-14tests: childhurd: Prefer “-cpu max” over “-cpu host”.Ludovic Courtès
2023-10-05tests: childhurd: Test SSH connection with a non-root user.Ludovic Courtès
2023-10-01services: hurd-vm: Implement zero-configuration offloading.Ludovic Courtès
2023-10-01services: hurd-vm: Disable password-based authentication for root.Ludovic Courtès
2023-10-01tests: hurd-vm: Remove custom disk image configuration.Ludovic Courtès
2023-10-01services: hurd-vm: ‘image’ field has to be an <image> record.Ludovic Courtès
2023-09-17tests: childhurd: Add missing module imports.Ludovic Courtès
2023-03-03services: dbus: Deprecate 'dbus-service' procedure.Bruno Victal
2023-03-03services: dbus: Deprecate 'polkit-service' procedure.Bruno Victal
2022-08-29gnu: Add missing copyright line.Marius Bakke
2022-08-29tests: libvirt: Ensure the default network can be started.Marius Bakke
2022-08-09tests: Add qemu-guest-agent system test.Timotej Lazar
2022-06-05tests: childhurd: Make sure "guix build -d" works.Ludovic Courtès
2022-06-05tests: childhurd: Generalize command execution over SSH.Ludovic Courtès
2021-09-26tests: Reduce boilerplate for users of 'system-test-runner'.Ludovic Courtès
2021-09-25tests: Adjust to SRFI-64 as found in Guile 3.0.7.Ludovic Courtès
2021-04-05tests: libvirt: Catch issues with incorrect /var and /etc in package.Pierre Langlois
2020-10-01services: hurd-vm: Resurrect system-test by using raw disk-image.Jan (janneke) Nieuwenhuizen
2020-09-29services: hurd-vm: Add system test.Ludovic Courtès